forked from External/mage
Improve text generation for some common draw, discard and mill effects
This commit is contained in:
parent
15fe971a36
commit
fd281ca483
8 changed files with 37 additions and 59 deletions
|
|
@ -546,8 +546,7 @@ public final class CardUtil {
|
|||
}
|
||||
|
||||
public static boolean checkNumeric(String s) {
|
||||
return s.chars().allMatch(Character::isDigit);
|
||||
|
||||
return !s.isEmpty() && s.chars().allMatch(Character::isDigit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue