mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 08:41:27 +01:00
Remove debug logging for incremental saves (#2600)
This commit is contained in:
parent
0a5408a7d0
commit
fe0c5d9dc6
@ -42,7 +42,7 @@ index ee8f801745..2003522d96 100644
|
|||||||
private long t;
|
private long t;
|
||||||
@Nullable
|
@Nullable
|
||||||
diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
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
|
--- a/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
+++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
||||||
@@ -0,0 +0,0 @@ public class ChunkProviderServer extends IChunkProvider {
|
@@ -0,0 +0,0 @@ public class ChunkProviderServer extends IChunkProvider {
|
||||||
@ -62,7 +62,7 @@ index 1627003134..535c2258b9 100644
|
|||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
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
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
@ -78,8 +78,9 @@ index 098b3e5355..ccf359dff1 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
- if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit
|
- if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit
|
||||||
|
- MinecraftServer.LOGGER.debug("Autosave started");
|
||||||
+ //if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // CraftBukkit // Paper - move down
|
+ //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
|
+ serverAutoSave = (autosavePeriod > 0 && this.ticks % autosavePeriod == 0); // Paper
|
||||||
this.methodProfiler.enter("save");
|
this.methodProfiler.enter("save");
|
||||||
+ if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // Paper
|
+ if (autosavePeriod > 0 && this.ticks % autosavePeriod == 0) { // Paper
|
||||||
@ -99,8 +100,9 @@ index 098b3e5355..ccf359dff1 100644
|
|||||||
+ // Paper end
|
+ // Paper end
|
||||||
+
|
+
|
||||||
this.methodProfiler.exit();
|
this.methodProfiler.exit();
|
||||||
MinecraftServer.LOGGER.debug("Autosave finished");
|
- MinecraftServer.LOGGER.debug("Autosave finished");
|
||||||
- }
|
- }
|
||||||
|
+ //MinecraftServer.LOGGER.debug("Autosave finished"); // Paper
|
||||||
+ //} // Paper
|
+ //} // Paper
|
||||||
|
|
||||||
this.methodProfiler.enter("snooper");
|
this.methodProfiler.enter("snooper");
|
||||||
|
Loading…
Reference in New Issue
Block a user