diff options
author | Nassim Jahnke <[email protected]> | 2021-11-23 12:47:17 +0100 |
---|---|---|
committer | MiniDigger | Martin <[email protected]> | 2021-11-30 19:26:33 +0100 |
commit | c8cb91bb99ba94c5705e86bb23d66394b740e026 (patch) | |
tree | 9fc39b375c741e7fde18e4f73f711b31f136e946 /patches/server/0010-Timings-v2.patch | |
parent | 456621b0d702cc0e0bb24b1ac35e883646af8844 (diff) | |
download | Paper-c8cb91bb99ba94c5705e86bb23d66394b740e026.tar.gz Paper-c8cb91bb99ba94c5705e86bb23d66394b740e026.zip |
More more work
Diffstat (limited to 'patches/server/0010-Timings-v2.patch')
-rw-r--r-- | patches/server/0010-Timings-v2.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/server/0010-Timings-v2.patch b/patches/server/0010-Timings-v2.patch index 67dd2c4319..e5ba5bd258 100644 --- a/patches/server/0010-Timings-v2.patch +++ b/patches/server/0010-Timings-v2.patch @@ -1125,10 +1125,10 @@ index 3f938d953daee7a5551a62df25f2e0fb487733ec..cab03a81a97d851db61e517cfe3a43fa } diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java -index fc3565c1dd1c7f09bc885f1b0c9cf71477d64543..28761de0a4a460f74fbf6aca3f5d5ec87684b529 100644 +index 2616debed901b2dd0bd5ad3ea26ffce2d92dc6c1..c79521ab00a1c258bbeae56a687636e34932ac6f 100644 --- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java +++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java -@@ -508,13 +508,15 @@ public class ServerChunkCache extends ChunkSource { +@@ -526,13 +526,15 @@ public class ServerChunkCache extends ChunkSource { } gameprofilerfiller.incrementCounter("getChunkCacheMiss"); @@ -1146,7 +1146,7 @@ index fc3565c1dd1c7f09bc885f1b0c9cf71477d64543..28761de0a4a460f74fbf6aca3f5d5ec8 ichunkaccess = (ChunkAccess) ((Either) completablefuture.join()).map((ichunkaccess1) -> { return ichunkaccess1; }, (playerchunk_failure) -> { -@@ -712,7 +714,9 @@ public class ServerChunkCache extends ChunkSource { +@@ -730,7 +732,9 @@ public class ServerChunkCache extends ChunkSource { public void save(boolean flush) { this.runDistanceManagerUpdates(); @@ -1156,7 +1156,7 @@ index fc3565c1dd1c7f09bc885f1b0c9cf71477d64543..28761de0a4a460f74fbf6aca3f5d5ec8 } @Override -@@ -750,7 +754,9 @@ public class ServerChunkCache extends ChunkSource { +@@ -768,7 +772,9 @@ public class ServerChunkCache extends ChunkSource { this.runDistanceManagerUpdates(); this.level.timings.doChunkMap.stopTiming(); // Spigot this.level.getProfiler().popPush("chunks"); @@ -1166,7 +1166,7 @@ index fc3565c1dd1c7f09bc885f1b0c9cf71477d64543..28761de0a4a460f74fbf6aca3f5d5ec8 this.level.timings.doChunkUnload.startTiming(); // Spigot this.level.getProfiler().popPush("unload"); this.chunkMap.tick(booleansupplier); -@@ -777,13 +783,16 @@ public class ServerChunkCache extends ChunkSource { +@@ -795,13 +801,16 @@ public class ServerChunkCache extends ChunkSource { boolean flag1 = level.ticksPerAnimalSpawns != 0L && worlddata.getGameTime() % level.ticksPerAnimalSpawns == 0L; // CraftBukkit gameprofilerfiller.push("naturalSpawnCount"); @@ -1183,7 +1183,7 @@ index fc3565c1dd1c7f09bc885f1b0c9cf71477d64543..28761de0a4a460f74fbf6aca3f5d5ec8 while (iterator.hasNext()) { ChunkHolder playerchunk = (ChunkHolder) iterator.next(); -@@ -812,27 +821,27 @@ public class ServerChunkCache extends ChunkSource { +@@ -830,27 +839,27 @@ public class ServerChunkCache extends ChunkSource { } if (this.level.shouldTickBlocksAt(chunkcoordintpair.toLong())) { |