13
0
geforkt von Mirrors/Paper

Move this somewhere sane

Dieser Commit ist enthalten in:
Zach Brown 2016-05-05 20:18:20 -05:00
Ursprung da5cd0a63e
Commit b6da0fdf02

Datei anzeigen

@ -58,6 +58,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.timeoutTime = timeoutTime;
this.restart = restart;
}
public static void doStart(int timeoutTime, boolean restart)
{
- if ( instance == null )
+ if ( !Boolean.getBoolean("disable.watchdog") && instance == null ) // Paper - Add property to disable
{
instance = new WatchdogThread( timeoutTime * 1000L, restart );
instance.start();
@@ -0,0 +0,0 @@ public class WatchdogThread extends Thread
{
Logger log = Bukkit.getServer().getLogger();