diff options
Diffstat (limited to 'patches/server/0323-Expose-MinecraftServer-isRunning.patch')
-rw-r--r-- | patches/server/0323-Expose-MinecraftServer-isRunning.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0323-Expose-MinecraftServer-isRunning.patch b/patches/server/0323-Expose-MinecraftServer-isRunning.patch index 80af8f4bf9..1f82adb8b4 100644 --- a/patches/server/0323-Expose-MinecraftServer-isRunning.patch +++ b/patches/server/0323-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 daa2def7026579d75899cce6d33b91b7649ee076..f5b0aa5ee92b24fd53d83eb45df1a5dece10733f 100644 +index ff6bac3e53795c427719900428a56a0e505f6ec2..c40331c2be3a3cfb156c3faa5f6a9fd3cb237077 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -2951,5 +2951,10 @@ public final class CraftServer implements Server { +@@ -2950,5 +2950,10 @@ public final class CraftServer implements Server { public int getCurrentTick() { return net.minecraft.server.MinecraftServer.currentTick; } |