aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0622-Don-t-log-debug-logging-being-disabled.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-06-16 12:56:00 +0200
committerNassim Jahnke <[email protected]>2024-06-16 12:56:00 +0200
commitdc684c60d16f66ea84467ec8e253f2a36a17a7c8 (patch)
treee516f1bd4bfbdb37a5aeee42384aade111eca3e1 /patches/server/0622-Don-t-log-debug-logging-being-disabled.patch
parent752f957e12e4ceb8b7d2043a4a7dbce786b7b98f (diff)
downloadPaper-dc684c60d16f66ea84467ec8e253f2a36a17a7c8.tar.gz
Paper-dc684c60d16f66ea84467ec8e253f2a36a17a7c8.zip
Remove bad server.scheduleOnMain disconnect calls from old patches
The new behavior of disconnect to block the current thread until the disconnect succeeded is better than throwing it off to happen at some point
Diffstat (limited to 'patches/server/0622-Don-t-log-debug-logging-being-disabled.patch')
-rw-r--r--patches/server/0622-Don-t-log-debug-logging-being-disabled.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/server/0622-Don-t-log-debug-logging-being-disabled.patch b/patches/server/0622-Don-t-log-debug-logging-being-disabled.patch
new file mode 100644
index 0000000000..d62e56bfc1
--- /dev/null
+++ b/patches/server/0622-Don-t-log-debug-logging-being-disabled.patch
@@ -0,0 +1,19 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Noah van der Aa <[email protected]>
+Date: Tue, 14 Sep 2021 16:24:45 +0200
+Subject: [PATCH] Don't log debug logging being disabled
+
+
+diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
+index ba4fcfc86b385c8f50f414d5448edc5e99d2433a..db9c812cf7267adf0bfd8be7368140e91245d640 100644
+--- a/src/main/java/org/spigotmc/SpigotConfig.java
++++ b/src/main/java/org/spigotmc/SpigotConfig.java
+@@ -382,7 +382,7 @@ public class SpigotConfig
+ Bukkit.getLogger().info( "Debug logging is enabled" );
+ } else
+ {
+- Bukkit.getLogger().info( "Debug logging is disabled" );
++ // Bukkit.getLogger().info( "Debug logging is disabled" ); // Paper - Don't log if debug logging isn't enabled.
+ }
+ }
+