From eabee562437f5931368317504b866e6374e9c644 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 2 Apr 2012 16:40:45 -0500 Subject: [PATCH] SpawnRadius should only apply to main world. Fixes BUKKIT-1427 By: feildmaster --- .../java/org/bukkit/craftbukkit/event/CraftEventFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java index 23fc7186ef..03bc38276f 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -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;