diff options
Diffstat (limited to 'patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch')
-rw-r--r-- | patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch b/patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch index 268dd7416f..bb08aebe5a 100644 --- a/patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch +++ b/patches/server/0325-Optimise-getChunkAt-calls-for-loaded-chunks.patch @@ -7,10 +7,10 @@ bypass the need to get a player chunk, then get the either, then unwrap it... diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java -index 5fc48485aa2045c19c5ec2ba9cb6fafabb1ae8f1..32a26eac53cfd4fb69ba117908acc82894deb1a0 100644 +index 369e4bf5ff52cb774f1acaf760b8bd276a0745f5..326b67c15ee3df162bf4468729c49dd98b582f02 100644 --- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java +++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java -@@ -396,6 +396,12 @@ public class ServerChunkCache extends ChunkSource { +@@ -254,6 +254,12 @@ public class ServerChunkCache extends ChunkSource { return this.getChunk(x, z, leastStatus, create); }, this.mainThreadProcessor).join(); } else { @@ -23,7 +23,7 @@ index 5fc48485aa2045c19c5ec2ba9cb6fafabb1ae8f1..32a26eac53cfd4fb69ba117908acc828 ProfilerFiller gameprofilerfiller = this.level.getProfiler(); gameprofilerfiller.incrementCounter("getChunk"); -@@ -442,39 +448,7 @@ public class ServerChunkCache extends ChunkSource { +@@ -300,39 +306,7 @@ public class ServerChunkCache extends ChunkSource { if (Thread.currentThread() != this.mainThread) { return null; } else { |