mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
Moved spawn-protection from server.properties into (settings.)spawn-radius in bukkit.yml
This commit is contained in:
@@ -448,7 +448,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
|
||||
if (packet14blockdig.e == 0) {
|
||||
// CraftBukkit
|
||||
if (i1 < this.minecraftServer.spawnProtection && !flag) {
|
||||
if (i1 < server.getSpawnRadius() && !flag) {
|
||||
this.player.netServerHandler.sendPacket(new Packet53BlockChange(i, j, k, worldserver));
|
||||
} else {
|
||||
// CraftBukkit - add face argument
|
||||
|
Reference in New Issue
Block a user