From 55e3da732859f71fd7c7e2b18a03dd4bf1898612 Mon Sep 17 00:00:00 2001 From: MrHua269 Date: Mon, 27 May 2024 11:46:01 +0000 Subject: [PATCH] Correct remove hook position --- .../0006-Correct-remove-hook-position.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches/server/0006-Correct-remove-hook-position.patch diff --git a/patches/server/0006-Correct-remove-hook-position.patch b/patches/server/0006-Correct-remove-hook-position.patch new file mode 100644 index 0000000..cbb9754 --- /dev/null +++ b/patches/server/0006-Correct-remove-hook-position.patch @@ -0,0 +1,26 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: MrHua269 +Date: Mon, 27 May 2024 11:45:53 +0000 +Subject: [PATCH] Correct remove hook position + + +diff --git a/src/main/java/io/papermc/paper/threadedregions/ThreadedRegionizer.java b/src/main/java/io/papermc/paper/threadedregions/ThreadedRegionizer.java +index 69b2f6182e135ba86ac878956aabfd472f103f11..2b81c59e3aff7f0d017807a9990074453e6dd952 100644 +--- a/src/main/java/io/papermc/paper/threadedregions/ThreadedRegionizer.java ++++ b/src/main/java/io/papermc/paper/threadedregions/ThreadedRegionizer.java +@@ -640,7 +640,6 @@ public final class ThreadedRegionizer) region); + + // create new regions + final Long2ReferenceOpenHashMap> newRegionsMap = new Long2ReferenceOpenHashMap<>(); +@@ -816,6 +815,7 @@ public final class ThreadedRegionizer) this); + } + + private final boolean hasNoAliveSections() {