Fix some issues on the list
This commit is contained in:
@@ -789,7 +789,7 @@ index 741105fb6c..277fa64e24 100644
|
||||
this.methodProfiler.exit();
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
index 4d8491c760..c08a1a6e51 100644
|
||||
index 4d8491c760..a44525304d 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
@@ -0,0 +0,0 @@
|
||||
@@ -814,8 +814,9 @@ index 4d8491c760..c08a1a6e51 100644
|
||||
+ }
|
||||
+
|
||||
+
|
||||
+ Chunk neighbor = getUpdatingChunk(ChunkCoordIntPair.pair(currentChunkPair.x + x, currentChunkPair.z + z))
|
||||
+ if (neighbor != null) {
|
||||
+ PlayerChunk neighborPlayer = getUpdatingChunk(ChunkCoordIntPair.pair(currentChunkPair.x + x, currentChunkPair.z + z));
|
||||
+ if (neighborPlayer != null) {
|
||||
+ Chunk neighbor = neighborPlayer.getChunk();
|
||||
+ neighbor.setNeighborLoaded(-x, -z);
|
||||
+ playerchunk.getChunk().setNeighborLoaded(x, z);
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user