From e3bfa7141db2c643470921d8e7507ea3c73f2a85 Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Sat, 13 Apr 2024 09:40:10 +0200 Subject: [PATCH] Fixed Javadoc --- .../main/java/it/angrybear/yagl/items/PersistentItem.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/item/bukkit/src/main/java/it/angrybear/yagl/items/PersistentItem.java b/item/bukkit/src/main/java/it/angrybear/yagl/items/PersistentItem.java index 2f8f8779..92edf8b4 100644 --- a/item/bukkit/src/main/java/it/angrybear/yagl/items/PersistentItem.java +++ b/item/bukkit/src/main/java/it/angrybear/yagl/items/PersistentItem.java @@ -278,6 +278,8 @@ public PersistentItem copy() { /** * Instantiates a new Persistent item. + * + * @return the persistent item */ public static PersistentItem newItem() { return new PersistentItem(); @@ -287,6 +289,7 @@ public static PersistentItem newItem() { * Instantiates a new Persistent item. * * @param material the material + * @return the persistent item */ public static PersistentItem newItem(final @NotNull Material material) { return new PersistentItem(material); @@ -296,6 +299,7 @@ public static PersistentItem newItem(final @NotNull Material material) { * Instantiates a new Persistent item. * * @param material the material + * @return the persistent item */ public static PersistentItem newItem(final @Nullable String material) { return new PersistentItem(material); @@ -306,6 +310,7 @@ public static PersistentItem newItem(final @Nullable String material) { * * @param material the material * @param amount the amount + * @return the persistent item */ public static PersistentItem newItem(final @NotNull Material material, final int amount) { return new PersistentItem(material, amount); @@ -316,6 +321,7 @@ public static PersistentItem newItem(final @NotNull Material material, final int * * @param material the material * @param amount the amount + * @return the persistent item */ public static PersistentItem newItem(final @Nullable String material, final int amount) { return new PersistentItem(material, amount);