diff options
author | Spottedleaf <[email protected]> | 2019-09-29 18:14:40 -0700 |
---|---|---|
committer | Zach <[email protected]> | 2019-09-29 20:14:39 -0500 |
commit | 826b4762c0cdeb90d48cb859536fc9727f0116f1 (patch) | |
tree | 61f462d22b52f68dca53bae4d79a70624b47722d | |
parent | d39916c7e2db97ca710f1197be73aab2d4fc27fa (diff) | |
download | Paper-826b4762c0cdeb90d48cb859536fc9727f0116f1.tar.gz Paper-826b4762c0cdeb90d48cb859536fc9727f0116f1.zip |
Remove debug logging for incremental saves (#2600)
-rw-r--r-- | Spigot-Server-Patches/0391-incremental-chunk-saving.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Spigot-Server-Patches/0391-incremental-chunk-saving.patch b/Spigot-Server-Patches/0391-incremental-chunk-saving.patch index 2614a9d6cb..2c2ab4b4ff 100644 --- a/Spigot-Server-Patches/0391-incremental-chunk-saving.patch +++ b/Spigot-Server-Patches/0391-incremental-chunk-saving.patch @@ -1,4 +1,4 @@ -From 1c28bef1ac334a0c2a67b80d251ff42652b004e6 Mon Sep 17 00:00:00 2001 +From 2b993316234835b83c786522f6a71a120f030618 Mon Sep 17 00:00:00 2001 From: Shane Freeder <[email protected]> Date: Sun, 9 Jun 2019 03:53:22 +0100 Subject: [PATCH] incremental chunk saving @@ -42,7 +42,7 @@ index ee8f801745..2003522d96 100644 private long t; @Nullable diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java -index 1627003134..535c2258b9 100644 +index 02dfd91c5e..8689e0f9f0 100644 --- a/src/main/java/net/minecraft/server/ChunkProviderServer.java +++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java @@ -335,6 +335,15 @@ public class ChunkProviderServer extends IChunkProvider { @@ -62,7 +62,7 @@ index 1627003134..535c2258b9 100644 public void close() throws IOException { // CraftBukkit start diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 098b3e5355..ccf359dff1 100644 +index 098b3e5355..7e49d21625 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -165,6 +165,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas @@ -78,8 +78,9 @@ index 098b3e5355..ccf359dff1 100644 } - if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit +- MinecraftServer.LOGGER.debug("Autosave started"); + //if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit // Paper - move down - MinecraftServer.LOGGER.debug("Autosave started"); ++ //MinecraftServer.LOGGER.debug("Autosave started"); // Paper + serverAutoSave = (autosavePeriod > 0 && this.ticks % autosavePeriod == 0); // Paper this.methodProfiler.enter("save"); + if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // Paper @@ -99,8 +100,9 @@ index 098b3e5355..ccf359dff1 100644 + // Paper end + this.methodProfiler.exit(); - MinecraftServer.LOGGER.debug("Autosave finished"); +- MinecraftServer.LOGGER.debug("Autosave finished"); - } ++ //MinecraftServer.LOGGER.debug("Autosave finished"); // Paper + //} // Paper this.methodProfiler.enter("snooper"); |