Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 19:40:07 +01:00
Oops: Fix compile
Dieser Commit ist enthalten in:
Ursprung
32f41dfe9a
Commit
1b946aa470
@ -1,4 +1,4 @@
|
||||
From 9887296b1b8adebbcdb19f7ab2e2eea28f6810d3 Mon Sep 17 00:00:00 2001
|
||||
From 682ead1a06abe0e2bdf3237c8ffa05c4b260d72e Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Feb 2013 12:33:20 +1100
|
||||
Subject: [PATCH] Watchdog Thread.
|
||||
@ -26,7 +26,7 @@ index 007fb86..51f1761 100644
|
||||
}
|
||||
diff --git a/src/main/java/org/spigotmc/RestartCommand.java b/src/main/java/org/spigotmc/RestartCommand.java
|
||||
new file mode 100644
|
||||
index 0000000..5fa56c0
|
||||
index 0000000..10cb7c4
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/org/spigotmc/RestartCommand.java
|
||||
@@ -0,0 +1,117 @@
|
||||
@ -65,7 +65,7 @@ index 0000000..5fa56c0
|
||||
+ restart( new File( SpigotConfig.restartScript ) );
|
||||
+ }
|
||||
+
|
||||
+ public static void restart(File script)
|
||||
+ public static void restart(final File script)
|
||||
+ {
|
||||
+ AsyncCatcher.enabled = false; // Disable async catcher incase it interferes with us
|
||||
+ try
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren