diff options
author | Spottedleaf <[email protected]> | 2024-06-19 10:29:03 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-06-19 10:29:03 -0700 |
commit | 38428c0d6cf9aeea31fffe8f63b8a92c982c8a4f (patch) | |
tree | 2164311ca8ff8f4587c7ef1d34421305ac47f023 /patches/server/0025-Further-improve-server-tick-loop.patch | |
parent | c0268ca86eeb5ca767e5e2860aa2d936e5e7fc4f (diff) | |
download | Paper-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/0025-Further-improve-server-tick-loop.patch')
-rw-r--r-- | patches/server/0025-Further-improve-server-tick-loop.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0025-Further-improve-server-tick-loop.patch b/patches/server/0025-Further-improve-server-tick-loop.patch index 0a1f62fc08..0fc8d093bf 100644 --- a/patches/server/0025-Further-improve-server-tick-loop.patch +++ b/patches/server/0025-Further-improve-server-tick-loop.patch @@ -12,7 +12,7 @@ Previous implementation did not calculate TPS correctly. Switch to a realistic rolling average and factor in std deviation as an extra reporting variable diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 4137cf4d716680ff1b1ab0b8a3e8f7cb4bae7dbe..8fbc764fd2802f735b9d5fac2dabca6a7cebe58e 100644 +index a720743149f9d1f90eda3b7b928b9d25d8c8f553..c09f3dc29c86fef9edfe7831776a77fc73e52210 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -296,7 +296,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa |