diff options
Diffstat (limited to 'patches/server/0359-Expose-MinecraftServer-isRunning.patch')
-rw-r--r-- | patches/server/0359-Expose-MinecraftServer-isRunning.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0359-Expose-MinecraftServer-isRunning.patch b/patches/server/0359-Expose-MinecraftServer-isRunning.patch index 5c522adc18..d3b50c2242 100644 --- a/patches/server/0359-Expose-MinecraftServer-isRunning.patch +++ b/patches/server/0359-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 89d7ae645a0a34a260aa84464661b2ba47b9bc51..ba381026071767428273b35cc57b4181c57c43f1 100644 +index 42d92cd77bea7fa412a60cc6ec67120eedb90ae4..cb49056d4745ecdca38d30d41e1b5f579c7d2c0c 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -2768,5 +2768,10 @@ public final class CraftServer implements Server { +@@ -2769,5 +2769,10 @@ public final class CraftServer implements Server { public int getCurrentTick() { return net.minecraft.server.MinecraftServer.currentTick; } |