Fix some issues on the list

This commit is contained in:
Spottedleaf
2019-05-05 14:39:51 -07:00
parent d42c203adc
commit e80bd49c80
22 changed files with 71 additions and 74 deletions

View File

@@ -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);
+ }