aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch
diff options
context:
space:
mode:
authorKyle Wood <[email protected]>2021-06-24 01:21:17 -0500
committerKyle Wood <[email protected]>2021-06-24 01:21:17 -0500
commit6ab98f8e35c9c941759ff1d15e15f66293c1983a (patch)
tree4635cf11ddcc351d65044664d17924067f373fb2 /Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch
parent216bd81bef963ff595eff88b68e9737977c40f66 (diff)
downloadPaper-6ab98f8e35c9c941759ff1d15e15f66293c1983a.tar.gz
Paper-6ab98f8e35c9c941759ff1d15e15f66293c1983a.zip
More changes for new paperweight
Diffstat (limited to 'Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch')
-rw-r--r--Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch b/Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch
deleted file mode 100644
index 1370e6830d..0000000000
--- a/Spigot-API-Patches-Unmapped/0184-Expose-the-internal-current-tick.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: William Blake Galbreath <[email protected]>
-Date: Sat, 20 Apr 2019 19:47:29 -0500
-Subject: [PATCH] Expose the internal current tick
-
-
-diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
-index 1f5bcda86990d7c336db21d9c927bbf6b1b6d74d..3e2d644806233bb72f2f6637ec6edde4e3bcfdc9 100644
---- a/src/main/java/org/bukkit/Bukkit.java
-+++ b/src/main/java/org/bukkit/Bukkit.java
-@@ -1823,6 +1823,10 @@ public final class Bukkit {
- public static com.destroystokyo.paper.profile.PlayerProfile createProfile(@Nullable UUID uuid, @Nullable String name) {
- return server.createProfile(uuid, name);
- }
-+
-+ public static int getCurrentTick() {
-+ return server.getCurrentTick();
-+ }
- // Paper end
-
- @NotNull
-diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
-index 39188fcf95beff906c68a822f6aa5e19ad3ad08c..f107b5658b60e59e9d98bc86a0313f4da201c190 100644
---- a/src/main/java/org/bukkit/Server.java
-+++ b/src/main/java/org/bukkit/Server.java
-@@ -1598,5 +1598,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
- */
- @NotNull
- com.destroystokyo.paper.profile.PlayerProfile createProfile(@Nullable UUID uuid, @Nullable String name);
-+
-+ /**
-+ * Get the current internal server tick
-+ *
-+ * @return Current tick
-+ */
-+ int getCurrentTick();
- // Paper end
- }