Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed give command only giving 1 loader when specifing custom amount …
…and time (#65)
  • Loading branch information
OmerBenGera committed Jan 27, 2023
1 parent 22d8f0d commit 2df28a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -76,7 +76,7 @@ public void perform(WildLoadersPlugin plugin, CommandSender sender, String[] arg

int amount = 1;

if(args.length == 4){
if(args.length >= 4){
try{
amount = Integer.parseInt(args[3]);
} catch (IllegalArgumentException e){
Expand Down

0 comments on commit 2df28a1

Please sign in to comment.