Fixed give command only giving 1 loader when specifing custom amount and time (#65)

This commit is contained in:
OmerBenGera 2023-01-27 08:36:05 +02:00
parent 22d8f0d1fb
commit 2df28a1bab
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public final class CmdGive implements ICommand {
int amount = 1;
if(args.length == 4){
if(args.length >= 4){
try{
amount = Integer.parseInt(args[3]);
} catch (IllegalArgumentException e){