geforkt von Mirrors/Paper
Move this somewhere sane
Dieser Commit ist enthalten in:
Ursprung
da5cd0a63e
Commit
b6da0fdf02
@ -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();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren