aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0009-Paper-Plugins.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0009-Paper-Plugins.patch')
-rw-r--r--patches/api/0009-Paper-Plugins.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/api/0009-Paper-Plugins.patch b/patches/api/0009-Paper-Plugins.patch
index 743e64e643..90a7f08ba1 100644
--- a/patches/api/0009-Paper-Plugins.patch
+++ b/patches/api/0009-Paper-Plugins.patch
@@ -1347,13 +1347,14 @@ index 0000000000000000000000000000000000000000..6bf3d212a6156ad9ab0e82d1ca0a04f8
+
+}
diff --git a/src/main/java/org/bukkit/UnsafeValues.java b/src/main/java/org/bukkit/UnsafeValues.java
-index 913cf8308840ca1f365eb1f456f64b96046ed060..6e46302c272b468375f2de3f7f992f55f13805b8 100644
+index baf49da3dd46039da2f24a4af8b1b8617bb25501..7cf61228754527ddaa6b39b5f1426e0527cdaac9 100644
--- a/src/main/java/org/bukkit/UnsafeValues.java
+++ b/src/main/java/org/bukkit/UnsafeValues.java
-@@ -129,4 +129,13 @@ public interface UnsafeValues {
+@@ -137,4 +137,14 @@ public interface UnsafeValues {
+
@ApiStatus.Internal
- @NotNull
- DamageSource.Builder createDamageSourceBuilder(@NotNull DamageType damageType);
+ <B extends Keyed> B get(Registry<B> registry, NamespacedKey key);
++
+ // Paper start
+ @Deprecated(forRemoval = true)
+ boolean isSupportedApiVersion(String apiVersion);