Added support for infinite itemstacks.
This commit is contained in:
1 parent
dc9059cecd
commit
5df837ea68
2 files changed
+1
-1
No files matched your search
Binary file not shown.
@@ -173,7 +173,7 @@ public class ItemParser
|
||||
}
|
||||
|
||||
private static int getAmount(String amount) {
|
||||
if (amount.matches("[1-9][0-9]*")) {
|
||||
if (amount.matches("(-)?[1-9][0-9]*")) {
|
||||
return Integer.parseInt(amount);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user