mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-26 20:45:17 +01:00
Added support for infinite itemstacks.
This commit is contained in:
parent
dc9059cecd
commit
5df837ea68
BIN
MobArena.jar
BIN
MobArena.jar
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user