Oops: Fix compile

This commit is contained in:
md_5 2014-05-24 17:17:32 +10:00
parent 32f41dfe9a
commit 1b946aa470

View file

@ -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> From: md_5 <md_5@live.com.au>
Date: Sat, 23 Feb 2013 12:33:20 +1100 Date: Sat, 23 Feb 2013 12:33:20 +1100
Subject: [PATCH] Watchdog Thread. 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 diff --git a/src/main/java/org/spigotmc/RestartCommand.java b/src/main/java/org/spigotmc/RestartCommand.java
new file mode 100644 new file mode 100644
index 0000000..5fa56c0 index 0000000..10cb7c4
--- /dev/null --- /dev/null
+++ b/src/main/java/org/spigotmc/RestartCommand.java +++ b/src/main/java/org/spigotmc/RestartCommand.java
@@ -0,0 +1,117 @@ @@ -0,0 +1,117 @@
@ -65,7 +65,7 @@ index 0000000..5fa56c0
+ restart( new File( SpigotConfig.restartScript ) ); + 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 + AsyncCatcher.enabled = false; // Disable async catcher incase it interferes with us
+ try + try