diff options
author | Nassim Jahnke <[email protected]> | 2024-12-07 18:54:38 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-12-07 18:54:38 +0100 |
commit | 9693df3b6de7688ddf11d06f2733e8a2448a81e7 (patch) | |
tree | cba95adf67cd28b3e13a0babc58ffb0a7854532f | |
parent | 8d1022d894bf52c33a91edd39a5780da5cc2ce7a (diff) | |
download | Paper-9693df3b6de7688ddf11d06f2733e8a2448a81e7.tar.gz Paper-9693df3b6de7688ddf11d06f2733e8a2448a81e7.zip |
Update missing method name reference in jd
-rw-r--r-- | patches/api/0006-Adventure.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/patches/api/0006-Adventure.patch b/patches/api/0006-Adventure.patch index 4291579e41..2c4b796fa9 100644 --- a/patches/api/0006-Adventure.patch +++ b/patches/api/0006-Adventure.patch @@ -4899,10 +4899,10 @@ index 69d6de6e9618dd27f5ba73b931f8455912caf060..1181d62f13ad53a47bf3280f00f7ed45 /** diff --git a/src/main/java/org/bukkit/inventory/meta/PotionMeta.java b/src/main/java/org/bukkit/inventory/meta/PotionMeta.java -index b61d2e322f80fcabae5e286cba8df9701ebcf5ea..25904406ce7bf62b22621448ce982473df1d919a 100644 +index b61d2e322f80fcabae5e286cba8df9701ebcf5ea..ada7b3d8f5743fa4dd7809060f1c5a5608b7aec3 100644 --- a/src/main/java/org/bukkit/inventory/meta/PotionMeta.java +++ b/src/main/java/org/bukkit/inventory/meta/PotionMeta.java -@@ -149,9 +149,13 @@ public interface PotionMeta extends ItemMeta { +@@ -149,27 +149,64 @@ public interface PotionMeta extends ItemMeta { /** * Checks for existence of a custom potion name translation suffix. * @@ -4917,8 +4917,9 @@ index b61d2e322f80fcabae5e286cba8df9701ebcf5ea..25904406ce7bf62b22621448ce982473 /** * Gets the potion name translation suffix that is set. -@@ -159,17 +163,50 @@ public interface PotionMeta extends ItemMeta { - * Plugins should check that hasCustomName() returns <code>true</code> + * <p> +- * Plugins should check that hasCustomName() returns <code>true</code> ++ * Plugins should check that {@link #hasCustomPotionName()} returns {@code true} * before calling this method. * + * @deprecated conflicting name, use {@link #getCustomPotionName()} @@ -4953,7 +4954,7 @@ index b61d2e322f80fcabae5e286cba8df9701ebcf5ea..25904406ce7bf62b22621448ce982473 + /** + * Gets the potion name translation suffix that is set. + * <p> -+ * Plugins should check that hasCustomName() returns {@code true} ++ * Plugins should check that {@link #hasCustomPotionName()} returns {@code true} + * before calling this method. + * + * @return the potion name that is set |