mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
Fixed give command only giving 1 loader when specifing custom amount and time (#65)
This commit is contained in:
parent
22d8f0d1fb
commit
2df28a1bab
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user