mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 07:24:16 +00:00
Fix empty parameters
This commit is contained in:
1 parent
d00ab3f8d6
commit
2f6d69efac
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user