Fixed specifying amount breaking the level with /talgive

This commit is contained in:
Auxilor
2021-05-22 17:06:42 +01:00
parent 8134bb7925
commit e600bb6f25

View File

@@ -57,7 +57,7 @@ public class CommandTalgive extends AbstractCommand {
if (args.size() > 3) {
try {
level = Integer.parseInt(args.get(3));
amount = Integer.parseInt(args.get(3));
} catch (NumberFormatException ignored) {
// do nothing
}