mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-27 23:19:36 +02:00
Oops: Fix compile
This commit is contained in:
parent
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user