aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0540-Incremental-player-saving.patch
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2020-12-01 13:23:44 +0000
committerShane Freeder <[email protected]>2020-12-01 13:23:44 +0000
commit9119af508c4db11174b77effdc85dd9c5ed1983f (patch)
treebb901f672c9c24600276d4245c843168264a5141 /Spigot-Server-Patches/0540-Incremental-player-saving.patch
parentbfa122ae6af5a6d5c50362baad6d48ca45a27e0f (diff)
downloadPaper-9119af508c4db11174b77effdc85dd9c5ed1983f.tar.gz
Paper-9119af508c4db11174b77effdc85dd9c5ed1983f.zip
Fix keep-spawn-loaded stopping force-loaded chunks from loading
Also, cleanup the patch a little bit
Diffstat (limited to 'Spigot-Server-Patches/0540-Incremental-player-saving.patch')
-rw-r--r--Spigot-Server-Patches/0540-Incremental-player-saving.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0540-Incremental-player-saving.patch b/Spigot-Server-Patches/0540-Incremental-player-saving.patch
index 7aa18e20ea..1bf5e1f055 100644
--- a/Spigot-Server-Patches/0540-Incremental-player-saving.patch
+++ b/Spigot-Server-Patches/0540-Incremental-player-saving.patch
@@ -37,10 +37,10 @@ index 66920fa15720976a84a33ce498b8ca6f5ad5dee3..59d47a9f75450573b26b82b6f432af7b
public NetworkManager networkManager; // Paper
public final MinecraftServer server;
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
-index 1aabd16cd23a2bcdd6e29de63fca36226c05c428..c52de0ad2496888e462bef6c9f751d03dbb6e550 100644
+index 157f8f5e5255312b916aef200810ad387fac915f..dd34782b85ccf7f9f4dedd72f9220f12475a46d2 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
-@@ -1227,9 +1227,15 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
+@@ -1222,9 +1222,15 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
//if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit // Paper - move down
//MinecraftServer.LOGGER.debug("Autosave started"); // Paper
serverAutoSave = (autosavePeriod > 0 && this.ticks % autosavePeriod == 0); // Paper