aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1827-fixup-Timings-v2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1827-fixup-Timings-v2.patch')
-rw-r--r--patches/server/1827-fixup-Timings-v2.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/1827-fixup-Timings-v2.patch b/patches/server/1827-fixup-Timings-v2.patch
new file mode 100644
index 0000000000..f2b8af09f4
--- /dev/null
+++ b/patches/server/1827-fixup-Timings-v2.patch
@@ -0,0 +1,18 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Spottedleaf <[email protected]>
+Date: Thu, 24 Oct 2024 11:17:10 -0700
+Subject: [PATCH] fixup! Timings v2
+
+
+diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
+index 7e5714fea4cda68b9ae21031c0e0d39061b07e2f..350bfa9c891130b1aa2ab973e86668de187ee1e0 100644
+--- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java
++++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
+@@ -427,7 +427,6 @@ public class ServerChunkCache extends ChunkSource {
+ gameprofilerfiller.pop();
+ this.clearCache();
+ }
+- if (this.level.getServer().tickRateManager().runsNormally()) this.level.timings.chunkTicks.startTiming(); // Paper
+
+ private void tickChunks() {
+ long i = this.level.getGameTime();