mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 00:56:39 +01:00
Move comment up
This commit is contained in:
parent
9a73213f88
commit
37436ac61a
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue