From 7533b421e496764b3cb2e8040e41c156332a5a2e Mon Sep 17 00:00:00 2001 From: officereso Date: Sun, 7 Jun 2020 05:53:18 -0500 Subject: [PATCH] javadoc for kit constructors --- src/main/java/io/github/officereso/Kit.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/github/officereso/Kit.java b/src/main/java/io/github/officereso/Kit.java index 21ccd82..51dcdab 100644 --- a/src/main/java/io/github/officereso/Kit.java +++ b/src/main/java/io/github/officereso/Kit.java @@ -33,12 +33,15 @@ public class Kit extends JavaPlugin { } /** + * This constructor takes a string and parses it into + * a list of ItemStacks. + * * @param name Kit name - * @param items List of itemStacks that will be in the kit. + * @param items String from config formated like + * "DIAMOND_SWORD 1, DIAMOND_SHOVEL 1" * @param cost The amount in XP that the kit object costs. * @param viewPosition Where the kit will show up in the kit selection inventory. * Must be between 0 and 26. - * */ public Kit(String name, String items, int cost, int viewPosition){ this.name = name;