mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Moved spawn-protection from server.properties into (settings.)spawn-radius in bukkit.yml
This commit is contained in:
@@ -99,7 +99,7 @@ public class WorldServer extends World implements BlockChangeDelegate {
|
||||
}
|
||||
|
||||
// CraftBukkit - Configurable spawn protection
|
||||
return i1 > this.server.spawnProtection || this.server.serverConfigurationManager.isOp(entityhuman.name);
|
||||
return i1 > getServer().getSpawnRadius() || this.server.serverConfigurationManager.isOp(entityhuman.name);
|
||||
}
|
||||
|
||||
protected void c(Entity entity) {
|
||||
|
Reference in New Issue
Block a user