mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-26 02:17:38 +01:00
Auto stash before cherrypick of "added settings editor"
This commit is contained in:
parent
5acb5baae3
commit
b02f04561b
@ -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)));
|
||||
}
|
||||
|
||||
|
BIN
target/UltimateStacker-1.0.2.jar
Normal file
BIN
target/UltimateStacker-1.0.2.jar
Normal file
Binary file not shown.
0
target/classes/SettingDefinitions.yml
Normal file
0
target/classes/SettingDefinitions.yml
Normal file
Binary file not shown.
5
target/maven-archiver/pom.properties
Normal file
5
target/maven-archiver/pom.properties
Normal 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
|
Loading…
Reference in New Issue
Block a user