geforkt von Mirrors/Paper
SPIGOT-3622: Issue in some combinations of spawn protection
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
e3d53900c0
Commit
5f46670617
@ -84,7 +84,7 @@ public class CraftEventFactory {
|
||||
|
||||
BlockPosition chunkcoordinates = worldServer.getSpawn();
|
||||
|
||||
int distanceFromSpawn = Math.max(Math.abs(x - chunkcoordinates.getX()), Math.abs(z - chunkcoordinates.getY()));
|
||||
int distanceFromSpawn = Math.max(Math.abs(x - chunkcoordinates.getX()), Math.abs(z - chunkcoordinates.getZ()));
|
||||
return distanceFromSpawn > spawnSize;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren