From 6666adc92ccd953fea83a5369fae1b8280c1200d Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 11 Aug 2018 00:12:25 -0400 Subject: [PATCH] don't try to load protochunks, we don't save them no reason to try to load them when we don't save them! --- .../0304-Don-t-save-Proto-Chunks.patch | 14 +++++++++++--- ...-Thread-Safe-Iteration-of-Chunk-Scheduler.patch | 8 ++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Spigot-Server-Patches/0304-Don-t-save-Proto-Chunks.patch b/Spigot-Server-Patches/0304-Don-t-save-Proto-Chunks.patch index 5f78fddc4..62f698ea5 100644 --- a/Spigot-Server-Patches/0304-Don-t-save-Proto-Chunks.patch +++ b/Spigot-Server-Patches/0304-Don-t-save-Proto-Chunks.patch @@ -1,4 +1,4 @@ -From 4056bf53bae443cb843da8ad7b8a0dc7927b4a3d Mon Sep 17 00:00:00 2001 +From e898f5e48550519d801479423c19d692e2c64fea Mon Sep 17 00:00:00 2001 From: Aikar Date: Sun, 22 Jul 2018 21:21:41 -0400 Subject: [PATCH] Don't save Proto Chunks @@ -8,7 +8,7 @@ the loadChunk method refuses to acknoledge they exists, and will restart a new chunk generation process to begin with, so saving them serves no benefit. diff --git a/src/main/java/net/minecraft/server/ChunkRegionLoader.java b/src/main/java/net/minecraft/server/ChunkRegionLoader.java -index ea8684747d..a97e024ec4 100644 +index ea868474..a97e024e 100644 --- a/src/main/java/net/minecraft/server/ChunkRegionLoader.java +++ b/src/main/java/net/minecraft/server/ChunkRegionLoader.java @@ -282,6 +282,7 @@ public class ChunkRegionLoader implements IChunkLoader, IAsyncChunkSaver { @@ -20,7 +20,7 @@ index ea8684747d..a97e024ec4 100644 world.checkSession(); diff --git a/src/main/java/net/minecraft/server/ChunkTaskScheduler.java b/src/main/java/net/minecraft/server/ChunkTaskScheduler.java -index 5d9118daa8..7629e0d054 100644 +index 5d9118da..ca1516f2 100644 --- a/src/main/java/net/minecraft/server/ChunkTaskScheduler.java +++ b/src/main/java/net/minecraft/server/ChunkTaskScheduler.java @@ -23,7 +23,7 @@ public class ChunkTaskScheduler extends Scheduler { + }); -- 2.18.0 diff --git a/Spigot-Server-Patches/0308-Thread-Safe-Iteration-of-Chunk-Scheduler.patch b/Spigot-Server-Patches/0308-Thread-Safe-Iteration-of-Chunk-Scheduler.patch index 2dcf678fc..32a65fe57 100644 --- a/Spigot-Server-Patches/0308-Thread-Safe-Iteration-of-Chunk-Scheduler.patch +++ b/Spigot-Server-Patches/0308-Thread-Safe-Iteration-of-Chunk-Scheduler.patch @@ -1,11 +1,11 @@ -From 58232527da5cfef622e6c0dbbd9df9ca88c7f412 Mon Sep 17 00:00:00 2001 +From 2bf2afcdc2d11ab205a42710969e4b1ddec97137 Mon Sep 17 00:00:00 2001 From: Aikar Date: Mon, 23 Jul 2018 19:13:06 -0400 Subject: [PATCH] Thread Safe Iteration of Chunk Scheduler diff --git a/src/main/java/net/minecraft/server/ChunkTaskScheduler.java b/src/main/java/net/minecraft/server/ChunkTaskScheduler.java -index 7629e0d054..5ee8bedf34 100644 +index ca1516f2..94ba21f9 100644 --- a/src/main/java/net/minecraft/server/ChunkTaskScheduler.java +++ b/src/main/java/net/minecraft/server/ChunkTaskScheduler.java @@ -1,8 +1,10 @@ @@ -19,7 +19,7 @@ index 7629e0d054..5ee8bedf34 100644 import java.util.EnumMap; import java.util.Map; import java.util.function.Consumer; -@@ -85,7 +87,13 @@ public class ChunkTaskScheduler extends Scheduler