Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fix block place protection using a larger radius. Fixes BUKKIT-1617
Dieser Commit ist enthalten in:
Ursprung
4c8f6f2caa
Commit
1d361c2f48
@ -73,7 +73,7 @@ public class CraftEventFactory {
|
||||
ChunkCoordinates chunkcoordinates = worldServer.getSpawn();
|
||||
|
||||
int distanceFromSpawn = (int) Math.max(Math.abs(x - chunkcoordinates.x), Math.abs(z - chunkcoordinates.z));
|
||||
return distanceFromSpawn > spawnSize;
|
||||
return distanceFromSpawn >= spawnSize;
|
||||
}
|
||||
|
||||
public static <T extends Event> T callEvent(T event) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren