mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
fix missing return
This commit is contained in:
@@ -201,7 +201,7 @@ public class CardUtil {
|
|||||||
if (type.cardText == null || type.cardText.isEmpty())
|
if (type.cardText == null || type.cardText.isEmpty())
|
||||||
return null;
|
return null;
|
||||||
try {
|
try {
|
||||||
Pattern.compile(type.cardText, Pattern.CASE_INSENSITIVE);
|
return Pattern.compile(type.cardText, Pattern.CASE_INSENSITIVE);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.err.println("[" + type.cardName + "|" + type.itemName + "]\n" + e);
|
System.err.println("[" + type.cardName + "|" + type.itemName + "]\n" + e);
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user