Lot of changes. Rewrite started. Kit object.

This commit is contained in:
officereso 2020-06-07 05:57:47 -05:00
parent 7533b421e4
commit af19303409

View File

@ -33,15 +33,12 @@ 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 String from config formated like * @param items List of itemStacks that will be in the kit.
* "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;