From 86f283f9ab6d9d7473816982b707e0ec51918abb Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Wed, 21 Nov 2018 22:25:30 -0500 Subject: [PATCH] No generics in javadocs, what are you doin --- ...CanPlaceOn-and-CanDestroy-NBT-values.patch | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/Spigot-API-Patches/Add-an-API-for-CanPlaceOn-and-CanDestroy-NBT-values.patch b/Spigot-API-Patches/Add-an-API-for-CanPlaceOn-and-CanDestroy-NBT-values.patch index ec3278120c..ab3a1ff517 100644 --- a/Spigot-API-Patches/Add-an-API-for-CanPlaceOn-and-CanDestroy-NBT-values.patch +++ b/Spigot-API-Patches/Add-an-API-for-CanPlaceOn-and-CanDestroy-NBT-values.patch @@ -217,9 +217,34 @@ index fe8d3468..074769c1 100644 return key; } diff --git a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java -index 2278d470..13a153c8 100644 +index 2278d470..60ed443a 100644 --- a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java +++ b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java +@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable { + *
+ * Plugins should check if hasLore() returns true
before
+ * calling this method.
+- *
++ *
+ * @return a list of lore that is set
+ */
+ List
++ * Returns a copy the enchantments in this ItemMeta.
+ * Returns an empty map if none.
+ *
+ * @return An immutable copy of the enchantments
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
Spigot spigot();
@@ -271,7 +296,7 @@ index 2278d470..13a153c8 100644
+ /**
+ * Sets the collection of namespaced keys that the item can destroy in {@link org.bukkit.GameMode#ADVENTURE}
+ *
-+ * @param canDestroy Set of {@link com.destroystokyo.paper.Namespaced}
++ * @param canDestroy Collection of {@link com.destroystokyo.paper.Namespaced}
+ */
+ void setDestroyableKeys(Collection