aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch')
-rw-r--r--patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch b/patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch
index 080f8f5b61..2211c9793e 100644
--- a/patches/server/0364-Optimise-getChunkAt-calls-for-loaded-chunks.patch
+++ b/patches/server/0364-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 cd3de4cd1a38c5092f6a88de4fa33d6dda7f3445..9ef4a8dee2af8d76e5d2c27ff3490a394b9afd59 100644
+index f982241898c4aeaf50854e67fe188478f2f2b186..38788e0ab7e881102d38bae53ba9d2d4f62b99d4 100644
--- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java
+++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
-@@ -442,6 +442,12 @@ public class ServerChunkCache extends ChunkSource {
+@@ -444,6 +444,12 @@ public class ServerChunkCache extends ChunkSource {
return this.getChunk(x, z, leastStatus, create);
}, this.mainThreadProcessor).join();
} else {
@@ -23,7 +23,7 @@ index cd3de4cd1a38c5092f6a88de4fa33d6dda7f3445..9ef4a8dee2af8d76e5d2c27ff3490a39
ProfilerFiller gameprofilerfiller = this.level.getProfiler();
gameprofilerfiller.incrementCounter("getChunk");
-@@ -497,39 +503,7 @@ public class ServerChunkCache extends ChunkSource {
+@@ -499,39 +505,7 @@ public class ServerChunkCache extends ChunkSource {
if (Thread.currentThread() != this.mainThread) {
return null;
} else {