diff --git a/CraftBukkit-Patches/0023-Watchdog-Thread.patch b/CraftBukkit-Patches/0023-Watchdog-Thread.patch index 17d6b21e6c..15f295a67e 100644 --- a/CraftBukkit-Patches/0023-Watchdog-Thread.patch +++ b/CraftBukkit-Patches/0023-Watchdog-Thread.patch @@ -1,11 +1,11 @@ -From 3cd709b7763070249f9d6c8c7c805a227de91696 Mon Sep 17 00:00:00 2001 +From 22fdbcbba3215c1503482e5281205314fc6b9a21 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 23 Feb 2013 12:33:20 +1100 Subject: [PATCH] Watchdog Thread. diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index fba219f..e5b8391 100644 +index dec46bd..aeac6e9 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -415,6 +415,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo @@ -164,10 +164,10 @@ index 8ef108d..8499c7f 100644 } diff --git a/src/main/java/org/spigotmc/WatchdogThread.java b/src/main/java/org/spigotmc/WatchdogThread.java new file mode 100644 -index 0000000..0a646d6 +index 0000000..8d6e1b4 --- /dev/null +++ b/src/main/java/org/spigotmc/WatchdogThread.java -@@ -0,0 +1,122 @@ +@@ -0,0 +1,121 @@ +package org.spigotmc; + +import java.lang.management.ManagementFactory; @@ -236,7 +236,6 @@ index 0000000..0a646d6 + log.log( Level.SEVERE, "------------------------------" ); + // + log.log( Level.SEVERE, "Entire Thread Dump:" ); -+ log.log( Level.SEVERE, "------------------------------" ); + ThreadInfo[] threads = ManagementFactory.getThreadMXBean().dumpAllThreads( true, true ); + for ( ThreadInfo thread : threads ) + {