diff options
author | Noah van der Aa <[email protected]> | 2021-12-20 23:46:51 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-20 22:46:51 +0000 |
commit | ae6fec6d13255847ade2d54aa6462addbb1ad4d0 (patch) | |
tree | 47d80db0bb562e275d9723a0dddd32f50cb7fcf1 /patches/api/0192-Expose-MinecraftServer-isRunning.patch | |
parent | 6178609e1d7e9fda3d59786b69425a3b00d73298 (diff) | |
download | Paper-ae6fec6d13255847ade2d54aa6462addbb1ad4d0.tar.gz Paper-ae6fec6d13255847ade2d54aa6462addbb1ad4d0.zip |
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7116)
Diffstat (limited to 'patches/api/0192-Expose-MinecraftServer-isRunning.patch')
-rw-r--r-- | patches/api/0192-Expose-MinecraftServer-isRunning.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/api/0192-Expose-MinecraftServer-isRunning.patch b/patches/api/0192-Expose-MinecraftServer-isRunning.patch index 88f637c9f4..ad0f1da75c 100644 --- a/patches/api/0192-Expose-MinecraftServer-isRunning.patch +++ b/patches/api/0192-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/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java -index a5f1191abb99a63dc2e20ef59688e4df30e12f67..ddaee386c6039eabb349481c2a66ec1292d0bfde 100644 +index c277b48d45c7aab3b727a7019b3ef253e045629d..c043e6798314e322e32a1c8e8ef6a795e022b858 100644 --- a/src/main/java/org/bukkit/Bukkit.java +++ b/src/main/java/org/bukkit/Bukkit.java -@@ -2012,6 +2012,15 @@ public final class Bukkit { +@@ -2055,6 +2055,15 @@ public final class Bukkit { public static int getCurrentTick() { return server.getCurrentTick(); } @@ -26,10 +26,10 @@ index a5f1191abb99a63dc2e20ef59688e4df30e12f67..ddaee386c6039eabb349481c2a66ec12 @NotNull diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java -index 0c5776e05e53802c45caea39002828507155fed5..dd263faad52612a076847c717582e8fc09dc3345 100644 +index 38febebef94652a9e44475560974d6e8d6949db0..ad940c5d327c7e1e09aea7d2cee27a8abcf3fed7 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java -@@ -1766,5 +1766,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi +@@ -1801,5 +1801,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi * @return Current tick */ int getCurrentTick(); |