mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SpawnRadius should only apply to main world. Fixes BUKKIT-1427
This commit is contained in:
parent
bad3979b8f
commit
52d9473e6b
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ public class CraftEventFactory {
|
|||
WorldServer worldServer = world.getHandle();
|
||||
int spawnSize = Bukkit.getServer().getSpawnRadius();
|
||||
|
||||
if (world.getHandle().dimension != 0) return true;
|
||||
if (spawnSize <= 0) return true;
|
||||
if (player.isOp()) return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue