This commit is contained in:
cyberpwn 2021-08-28 22:54:30 -04:00
parent 3cb7c0206a
commit b9f2530e2f

View File

@ -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()));
}