diff options
author | Nassim Jahnke <[email protected]> | 2023-12-06 20:40:37 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2023-12-06 20:40:37 +0100 |
commit | c2b70338fc6d28d965f752fa23124c06d7517379 (patch) | |
tree | 1ef3bca6078680c73c1e4767ed133986f4acaf9a /patches/server/0014-Timings-v2.patch | |
parent | 1d028f3853eaa3bb193d686b9bc213ff8401dd0d (diff) | |
download | Paper-c2b70338fc6d28d965f752fa23124c06d7517379.tar.gz Paper-c2b70338fc6d28d965f752fa23124c06d7517379.zip |
It compiles
Diffstat (limited to 'patches/server/0014-Timings-v2.patch')
-rw-r--r-- | patches/server/0014-Timings-v2.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/patches/server/0014-Timings-v2.patch b/patches/server/0014-Timings-v2.patch index b6b43d7b5f..50e817b4fc 100644 --- a/patches/server/0014-Timings-v2.patch +++ b/patches/server/0014-Timings-v2.patch @@ -1031,7 +1031,7 @@ index 770f6a08c613093577172385549df8040ded627b..c1bb511cc25ca97282ee02d2b207e294 } diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java -index 7cacfceed5ef9276a19123a8a9079579423d03ac..d62f6ef628f591e4362c4aa7db9d38fa2304af4c 100644 +index 7cacfceed5ef9276a19123a8a9079579423d03ac..6c33eefffad236b8c43bad891b3a3ec09e2d083a 100644 --- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java +++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java @@ -413,13 +413,15 @@ public class ServerChunkCache extends ChunkSource { @@ -1094,7 +1094,16 @@ index 7cacfceed5ef9276a19123a8a9079579423d03ac..d62f6ef628f591e4362c4aa7db9d38fa this.lastSpawnState = spawnercreature_d; gameprofilerfiller.popPush("spawnAndTick"); -@@ -728,13 +735,17 @@ public class ServerChunkCache extends ChunkSource { +@@ -719,22 +726,24 @@ public class ServerChunkCache extends ChunkSource { + } + + if (this.level.shouldTickBlocksAt(chunkcoordintpair.toLong())) { +- this.level.timings.doTickTiles.startTiming(); // Spigot + this.level.tickChunk(chunk1, l); +- this.level.timings.doTickTiles.stopTiming(); // Spigot + } + } + } gameprofilerfiller.popPush("customSpawners"); if (flag) { |