mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Prevent NPE when world already exists
This commit is contained in:
parent
aafed9b1b7
commit
cec67484e5
@ -167,6 +167,10 @@ public class CommandIrisCreate extends MortarCommand
|
||||
}
|
||||
|
||||
World ww = world;
|
||||
if (ww == null){
|
||||
sender.sendMessage("World not created, can not finish");
|
||||
return true;
|
||||
}
|
||||
J.a(() ->
|
||||
{
|
||||
while(!b.get())
|
||||
|
Loading…
x
Reference in New Issue
Block a user