aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0015-Version-Command-2.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0015-Version-Command-2.0.patch')
-rw-r--r--patches/api/0015-Version-Command-2.0.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0015-Version-Command-2.0.patch b/patches/api/0015-Version-Command-2.0.patch
index 32edafcf60..8e7ae211d1 100644
--- a/patches/api/0015-Version-Command-2.0.patch
+++ b/patches/api/0015-Version-Command-2.0.patch
@@ -56,13 +56,13 @@ index 0000000000000000000000000000000000000000..a736d7bcdc5861a01b66ba36158db1c7
+ }
+}
diff --git a/src/main/java/org/bukkit/UnsafeValues.java b/src/main/java/org/bukkit/UnsafeValues.java
-index 01e796e487cc16710f51b457466a37ba70e1e665..d69e5fa40702c283c370a2f712b51dc2ea3a1fa0 100644
+index b116bc3f7abd3f093145071407c45e43b1748bf3..4ac6f5488eb988486ee40473b9b0db84b5fe35c4 100644
--- a/src/main/java/org/bukkit/UnsafeValues.java
+++ b/src/main/java/org/bukkit/UnsafeValues.java
-@@ -146,5 +146,12 @@ public interface UnsafeValues {
- * @return name
+@@ -147,5 +147,12 @@ public interface UnsafeValues {
*/
String getTimingsServerName();
+ com.google.common.base.Function<World, co.aikar.util.JSONUtil.JSONPair> getWorldTimingExtractor(final co.aikar.timings.TimingHistory timingHistory); // Paper - Timings hack
+
+ /**
+ * Called once by the version command on first use, then cached.