mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Fix no structure specified error
This commit is contained in:
parent
125a89b5f9
commit
672a66695e
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user