Added support for infinite itemstacks.

This commit is contained in:
garbagemule committed 2012-03-03 08:44:18 +01:00
1 parent dc9059cecd
commit 5df837ea68
2 files changed
+1 -1

No files matched your search

BIN
View File
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);
}