diff --git a/patches/server/0864-Replace-player-chunk-loader-system.patch b/patches/server/0864-Replace-player-chunk-loader-system.patch index e4965a4315..9bf16bb720 100644 --- a/patches/server/0864-Replace-player-chunk-loader-system.patch +++ b/patches/server/0864-Replace-player-chunk-loader-system.patch @@ -1632,7 +1632,7 @@ index b2efa5f24d20cb16218a0e7522866ee2faaef244..e6c6432f35add7f4c27375e4420179a8 double d2 = d0 * d0; boolean flag = d1 <= d2 && this.entity.broadcastToPlayer(player); diff --git a/src/main/java/net/minecraft/server/level/DistanceManager.java b/src/main/java/net/minecraft/server/level/DistanceManager.java -index 005d75c93387a8c34a9ff7413ba09cb1ae788a74..d428da9060693db4e60d456b370d7b4db7bc6792 100644 +index 005d75c93387a8c34a9ff7413ba09cb1ae788a74..efb6b5cda6ef4015e283902e237a05af6f56cbc6 100644 --- a/src/main/java/net/minecraft/server/level/DistanceManager.java +++ b/src/main/java/net/minecraft/server/level/DistanceManager.java @@ -50,8 +50,8 @@ public abstract class DistanceManager { @@ -1800,14 +1800,14 @@ index 005d75c93387a8c34a9ff7413ba09cb1ae788a74..d428da9060693db4e60d456b370d7b4d } if (((SortedArraySet) entry.getValue()).isEmpty()) { -@@ -643,6 +642,7 @@ public abstract class DistanceManager { - } +@@ -598,6 +597,7 @@ public abstract class DistanceManager { } + // CraftBukkit end + /* Paper - replace old loader system - private class FixedPlayerDistanceChunkTracker extends ChunkTracker { + private class ChunkTicketTracker extends ChunkTracker { - protected final Long2ByteMap chunks = new Long2ByteOpenHashMap(); + public ChunkTicketTracker() { @@ -816,4 +816,5 @@ public abstract class DistanceManager { return distance <= this.viewDistance - 2; }