mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Why?
This commit is contained in:
parent
3cb7c0206a
commit
b9f2530e2f
@ -665,10 +665,7 @@ public class CommandStudio implements DecreeExecutor {
|
||||
sender().sendMessage(C.RED + "Players only (this is a config error. Ask support to add DecreeOrigin.PLAYER to the command you tried to run)");
|
||||
return;
|
||||
}
|
||||
if (IrisToolbelt.isIrisWorld(world())) {
|
||||
sender().sendMessage(C.RED + "You can only spawn entities in Iris worlds!");
|
||||
return;
|
||||
}
|
||||
|
||||
sender().sendMessage(C.GREEN + "Spawning entity");
|
||||
entity.spawn(engine(), new Location(world(), location.getX(), location.getY(), location.getZ()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user