3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

SPIGOT-2315: Neighbour chunk unload marking

Dieser Commit ist enthalten in:
md_5 2016-05-25 18:21:54 +10:00
Ursprung a022dd22fd
Commit ef3ccc94e0

Datei anzeigen

@ -213,7 +213,7 @@ public class CraftWorld implements World {
continue;
}
net.minecraft.server.Chunk neighbor = world.getChunkProviderServer().getLoadedChunkAt(chunk.locX + x, chunk.locZ + z);
net.minecraft.server.Chunk neighbor = world.getChunkProviderServer().getChunkIfLoaded(chunk.locX + x, chunk.locZ + z);
if (neighbor != null) {
neighbor.setNeighborUnloaded(-xx, -zz);
chunk.setNeighborUnloaded(xx, zz);