mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix empty parameters
This commit is contained in:
parent
d00ab3f8d6
commit
2f6d69efac
@ -48,6 +48,11 @@ public class CommandIrisObjectPaste extends MortarCommand
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!args.isEmpty()){
|
||||
sender.sendMessage("Please specify the name of of the object want to paste")
|
||||
return true;
|
||||
}
|
||||
|
||||
Player p = sender.player();
|
||||
File file = Iris.globaldata.getObjectLoader().findFile(args[0]);
|
||||
boolean intoWand = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user