Fix empty parameters

This commit is contained in:
BuildTools 2020-11-04 11:11:11 +01:00
parent d00ab3f8d6
commit 2f6d69efac

View File

@ -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;