diff --git a/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch b/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch index e6609cf22e..24e93d3364 100644 --- a/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch +++ b/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch @@ -64,7 +64,7 @@ index da710cc6fe..6b65364e22 100644 } diff --git a/src/main/java/com/destroystokyo/paper/util/PriorityQueuedExecutor.java b/src/main/java/com/destroystokyo/paper/util/PriorityQueuedExecutor.java new file mode 100644 -index 0000000000..8dfed1a8cf +index 0000000000..0a9fd5d662 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/util/PriorityQueuedExecutor.java @@ -0,0 +0,0 @@ @@ -258,7 +258,7 @@ index 0000000000..8dfed1a8cf + } + + public enum Priority { -+ HIGH, NORMAL ++ NORMAL, HIGH + } + + public class PendingTask implements Runnable { @@ -316,7 +316,7 @@ index 0000000000..8dfed1a8cf + return; + } + if (this.submitted.compareAndSet(submitted, priority)) { -+ if (priority == 1) { ++ if (priority == Priority.HIGH.ordinal()) { + high.add(this); + } else { + normal.add(this); @@ -1718,7 +1718,7 @@ index fa99fe0146..4f49786aa3 100644 } } diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java -index f837e6c36c..409c7d6ee6 100644 +index 14905fceb0..c0aeccffbf 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -0,0 +0,0 @@ public class WorldServer extends World implements IAsyncTaskHandler {