Fix no structure specified error

This commit is contained in:
BuildTools committed 2020-10-27 13:23:19 +01:00
1 parent 125a89b5f9
commit 672a66695e
1 file changed
+5
@@ -34,6 +34,11 @@ public class CommandIrisStructureOpen extends MortarCommand
return true;
}
if(args.length == 0){
sender.sendMessage("Please specify the structure you wish to load");
return true;
}
Player p = sender.player();
IrisStructure structure = Iris.globaldata.getStructureLoader().load(args[0]);