9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 02:29:14 +00:00

Fix no structure specified error

This commit is contained in:
BuildTools
2020-10-27 13:23:19 +01:00
parent 125a89b5f9
commit 672a66695e

View File

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