aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0410-Cache-block-data-strings.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2024-06-19 10:29:03 -0700
committerSpottedleaf <[email protected]>2024-06-19 10:29:03 -0700
commit38428c0d6cf9aeea31fffe8f63b8a92c982c8a4f (patch)
tree2164311ca8ff8f4587c7ef1d34421305ac47f023 /patches/server/0410-Cache-block-data-strings.patch
parentc0268ca86eeb5ca767e5e2860aa2d936e5e7fc4f (diff)
downloadPaper-38428c0d6cf9aeea31fffe8f63b8a92c982c8a4f.tar.gz
Paper-38428c0d6cf9aeea31fffe8f63b8a92c982c8a4f.zip
Cleanup MCUtils patch for chunk system
Remove utilities that are unused, as well as replacing the full chunk map with a concurrentutil implementation. Additionally, fix the addition/removal of chunks to/from the full chunk map so that getChunkIfLoaded correctly returns a non-null chunk when calling the load or unload events.
Diffstat (limited to 'patches/server/0410-Cache-block-data-strings.patch')
-rw-r--r--patches/server/0410-Cache-block-data-strings.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0410-Cache-block-data-strings.patch b/patches/server/0410-Cache-block-data-strings.patch
index de40dce04c..c73022bfec 100644
--- a/patches/server/0410-Cache-block-data-strings.patch
+++ b/patches/server/0410-Cache-block-data-strings.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Cache block data strings
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
-index 1d141c9ee7b8193d46ba47a8586fc334cabb62a1..eddb8792be0581d8f1c87d18b5ab7a02571addc7 100644
+index 331ed639496a73dbfdde795b6d6154a9c8ea78b4..5b7f2b2993844cbcc13742f69b0521832d1970da 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
-@@ -2153,6 +2153,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
+@@ -2148,6 +2148,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
this.getPlayerList().reloadResources();
this.functionManager.replaceLibrary(this.resources.managers.getFunctionLibrary());
this.structureTemplateManager.onResourceManagerReload(this.resources.resourceManager);