From 665f5251bff7a6a6f2a8f1093011359cb037825d Mon Sep 17 00:00:00 2001 From: Matt <4009945+MattBDev@users.noreply.github.com> Date: Tue, 12 Sep 2023 20:42:58 -0400 Subject: [PATCH] Added docs to PlotItemStack --- .../com/plotsquared/core/plot/PlotItemStack.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotItemStack.java b/Core/src/main/java/com/plotsquared/core/plot/PlotItemStack.java index ea9e5d7de..68ea240dc 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotItemStack.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotItemStack.java @@ -67,14 +67,25 @@ public class PlotItemStack { return this.type; } + /** + * Returns the number of items in this stack. + * Valid values range from 1-255. + * + * @return the amount of items in this stack + */ public int getAmount() { return amount; } + /** + * Returns the given name of this stack of items. The name is displayed when + * hovering over the item. + * + * @return the given name of this stack of items + */ public String getName() { return name; } - public String[] getLore() { return lore; }