3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

Fix inversion issue in last patch

Dieser Commit ist enthalten in:
Shane Freeder 2018-10-11 20:03:52 +01:00 committet von GitHub
Ursprung 87d2e76860
Commit 583be93c81
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -24,7 +24,7 @@ index 11e69a0547..93ae14e4a5 100644
float f = (float) j3 + 0.5F;
float f1 = (float) l3 + 0.5F;
+ if (worldserver.isChunkLoaded(j3, l3, true) && !worldserver.getWorldBorder().isInBounds(blockposition_mutableblockposition)) // paper - Prevent mob spawning from loading/generating chunks
+ if (worldserver.isChunkLoaded(j3, l3, true) && worldserver.getWorldBorder().isInBounds(blockposition_mutableblockposition)) // paper - Prevent mob spawning from loading/generating chunks
if (!worldserver.isPlayerNearby((double) f, (double) k3, (double) f1, 24.0D) && blockposition.distanceSquared((double) f, (double) k3, (double) f1) >= 576.0D) {
if (biomebase_biomemeta == null) {
biomebase_biomemeta = worldserver.a(enumcreaturetype, (BlockPosition) blockposition_mutableblockposition);