javadoc for kit constructors

This commit is contained in:
officereso 2020-06-07 05:53:18 -05:00
parent 30cfd4c141
commit 7533b421e4

View File

@ -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 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 cost The amount in XP that the kit object costs.
* @param viewPosition Where the kit will show up in the kit selection inventory. * @param viewPosition Where the kit will show up in the kit selection inventory.
* Must be between 0 and 26. * Must be between 0 and 26.
*
*/ */
public Kit(String name, String items, int cost, int viewPosition){ public Kit(String name, String items, int cost, int viewPosition){
this.name = name; this.name = name;