Added support for infinite itemstacks.

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

Binary file not shown.

View File

@ -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);
}