13
0
geforkt von Mirrors/Paper

SpawnRadius should only apply to main world. Fixes BUKKIT-1427

By: feildmaster <admin@feildmaster.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2012-04-02 16:40:45 -05:00
Ursprung ee87f28221
Commit eabee56243

Datei anzeigen

@ -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;