Auto stash before cherrypick of "added settings editor"

This commit is contained in:
Brianna O'Keefe 2018-11-09 16:27:49 -05:00
parent 5acb5baae3
commit b02f04561b
5 changed files with 7 additions and 2 deletions

View File

@ -121,7 +121,7 @@ public class SettingsManager implements Listener {
int slot = 10;
for (String key : instance.getConfig().getDefaultSection().getKeys(false)) {
ItemStack item = new ItemStack(Material.WHITE_WOOL, 1, (byte) (slot - 9)); //ToDo: Make this function as it was meant to.
ItemStack item = new ItemStack(Material.WOOL, 1, (byte) (slot - 9)); //ToDo: Make this function as it was meant to.
ItemMeta meta = item.getItemMeta();
meta.setLore(Collections.singletonList(TextComponent.formatText("&6Click To Edit This Category.")));
meta.setDisplayName(TextComponent.formatText("&f&l" + key));
@ -152,7 +152,7 @@ public class SettingsManager implements Listener {
item.setType(Material.PAPER);
lore.add(TextComponent.formatText("&9" + config.getString(fKey)));
} else if (config.isInt(fKey)) {
item.setType(Material.CLOCK);
item.setType(Material.WATCH);
lore.add(TextComponent.formatText("&5" + config.getInt(fKey)));
}

Binary file not shown.

View File

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Fri Nov 09 10:59:03 EST 2018
version=1.0.2
groupId=com.songoda
artifactId=UltimateStacker