geforkt von Mirrors/Paper
Allow placing blocks in spawn if ops.txt is empty. Fixes BUKKIT-3004
Dieser Commit ist enthalten in:
Ursprung
5409d05d3a
Commit
320712aba7
@ -68,6 +68,7 @@ public class CraftEventFactory {
|
||||
|
||||
if (world.getHandle().dimension != 0) return true;
|
||||
if (spawnSize <= 0) return true;
|
||||
if (((CraftServer) Bukkit.getServer()).getHandle().getOPs().isEmpty()) return true;
|
||||
if (player.isOp()) return true;
|
||||
|
||||
ChunkCoordinates chunkcoordinates = worldServer.getSpawn();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren