From 139c4ccf0dc2e9e51800cf3562e13ec6c66b5bc2 Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Thu, 5 May 2016 20:02:38 -0500 Subject: [PATCH] Add debug property to disable the watchdog Use at your own risk, we will not waste our time with support if your server times out and you cant put 2+2 together to figure out that its because you killed the watchdoge --- ...how-Paper-in-client-crashes-server-lists-and-Mojang.patch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Spigot-Server-Patches/Show-Paper-in-client-crashes-server-lists-and-Mojang.patch b/Spigot-Server-Patches/Show-Paper-in-client-crashes-server-lists-and-Mojang.patch index 1a8232151..f2ecfcd1b 100644 --- a/Spigot-Server-Patches/Show-Paper-in-client-crashes-server-lists-and-Mojang.patch +++ b/Spigot-Server-Patches/Show-Paper-in-client-crashes-server-lists-and-Mojang.patch @@ -59,6 +59,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 this.restart = restart; } @@ -0,0 +0,0 @@ public class WatchdogThread extends Thread + while ( !stopping ) + { + // +- if ( lastTick != 0 && System.currentTimeMillis() > lastTick + timeoutTime ) ++ if ( !Boolean.getBoolean("disable.watchdog") && lastTick != 0 && System.currentTimeMillis() > lastTick + timeoutTime ) // Paper - Add property to disable { Logger log = Bukkit.getServer().getLogger(); log.log( Level.SEVERE, "The server has stopped responding!" );