SpawnRadius should only apply to main world. Fixes BUKKIT-1427
Dieser Commit ist enthalten in:
Ursprung
bad3979b8f
Commit
52d9473e6b
@ -65,6 +65,7 @@ public class CraftEventFactory {
|
|||||||
WorldServer worldServer = world.getHandle();
|
WorldServer worldServer = world.getHandle();
|
||||||
int spawnSize = Bukkit.getServer().getSpawnRadius();
|
int spawnSize = Bukkit.getServer().getSpawnRadius();
|
||||||
|
|
||||||
|
if (world.getHandle().dimension != 0) return true;
|
||||||
if (spawnSize <= 0) return true;
|
if (spawnSize <= 0) return true;
|
||||||
if (player.isOp()) return true;
|
if (player.isOp()) return true;
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren