diff options
Diffstat (limited to 'patches/server/0326-Expose-MinecraftServer-isRunning.patch')
-rw-r--r-- | patches/server/0326-Expose-MinecraftServer-isRunning.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0326-Expose-MinecraftServer-isRunning.patch b/patches/server/0326-Expose-MinecraftServer-isRunning.patch index 38e7506126..4ee3eec408 100644 --- a/patches/server/0326-Expose-MinecraftServer-isRunning.patch +++ b/patches/server/0326-Expose-MinecraftServer-isRunning.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Expose MinecraftServer#isRunning This allows for plugins to detect if the server is actually turning off in onDisable rather than just plugins reloading. diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 55b11cb574d1fd634b4f445a0605249a296c6779..01415a1523a783d8581e463dcea4f96ff8d0807e 100644 +index 0078d999c132e56c6af242718fc1b983caa8b147..7226c506c902fc94f27cc5d444e25882138759c2 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -2930,5 +2930,10 @@ public final class CraftServer implements Server { +@@ -2932,5 +2932,10 @@ public final class CraftServer implements Server { public int getCurrentTick() { return net.minecraft.server.MinecraftServer.currentTick; } |