mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-20 07:01:22 +01:00
Removed EnableEnchants boolean, it was unnecessary
This commit is contained in:
parent
d520554b6d
commit
32fcc37b68
@ -564,7 +564,7 @@ public class ConfigManager {
|
|||||||
} else
|
} else
|
||||||
skullMeta.setOwner(skullOwner);
|
skullMeta.setOwner(skullOwner);
|
||||||
GUIitem.setItemMeta(skullMeta);
|
GUIitem.setItemMeta(skullMeta);
|
||||||
} else if (guiSection.contains("Enchantments") && Jobs.getGCManager().JobsGUIEnableEnchants) {
|
} else if (guiSection.contains("Enchantments")) {
|
||||||
List<String> enchants = guiSection.getStringList("Enchantments");
|
List<String> enchants = guiSection.getStringList("Enchantments");
|
||||||
if (enchants.size() > 0) {
|
if (enchants.size() > 0) {
|
||||||
for (String str4 : enchants) {
|
for (String str4 : enchants) {
|
||||||
|
@ -102,7 +102,7 @@ public class GeneralConfigManager {
|
|||||||
public boolean fixAtMaxLevel, ToggleActionBar, TitleChangeChat, TitleChangeActionBar, LevelChangeChat,
|
public boolean fixAtMaxLevel, ToggleActionBar, TitleChangeChat, TitleChangeActionBar, LevelChangeChat,
|
||||||
LevelChangeActionBar, SoundLevelupUse, SoundTitleChangeUse, UseServerAccount, EmptyServerAcountChat,
|
LevelChangeActionBar, SoundLevelupUse, SoundTitleChangeUse, UseServerAccount, EmptyServerAcountChat,
|
||||||
EmptyServerAcountActionBar, ActionBarsMessageByDefault, ShowTotalWorkers, ShowPenaltyBonus, useDynamicPayment,
|
EmptyServerAcountActionBar, ActionBarsMessageByDefault, ShowTotalWorkers, ShowPenaltyBonus, useDynamicPayment,
|
||||||
JobsGUIOpenOnBrowse, JobsGUIShowChatBrowse, JobsGUISwitcheButtons, JobsGUIOpenOnJoin, JobsGUIEnableEnchants;
|
JobsGUIOpenOnBrowse, JobsGUIShowChatBrowse, JobsGUISwitcheButtons, JobsGUIOpenOnJoin;
|
||||||
|
|
||||||
private int JobsGUIRows, JobsGUIBackButton,
|
private int JobsGUIRows, JobsGUIBackButton,
|
||||||
JobsGUIStartPosition,
|
JobsGUIStartPosition,
|
||||||
@ -916,8 +916,6 @@ public class GeneralConfigManager {
|
|||||||
c.getW().addComment("JobsGUI.SwitcheButtons", "With true left mouse button will join job and right will show more info",
|
c.getW().addComment("JobsGUI.SwitcheButtons", "With true left mouse button will join job and right will show more info",
|
||||||
"With false left mouse button will show more info, rigth will join job", "Dont forget to adjust locale file");
|
"With false left mouse button will show more info, rigth will join job", "Dont forget to adjust locale file");
|
||||||
JobsGUISwitcheButtons = c.get("JobsGUI.SwitcheButtons", false);
|
JobsGUISwitcheButtons = c.get("JobsGUI.SwitcheButtons", false);
|
||||||
c.getW().addComment("JobsGUI.EnableEnchants", "Enables the enchantment for items");
|
|
||||||
JobsGUIEnableEnchants = c.get("JobsGUI.EnableEnchants", true);
|
|
||||||
c.getW().addComment("JobsGUI.Rows", "Defines size in rows of GUI");
|
c.getW().addComment("JobsGUI.Rows", "Defines size in rows of GUI");
|
||||||
JobsGUIRows = c.get("JobsGUI.Rows", 5);
|
JobsGUIRows = c.get("JobsGUI.Rows", 5);
|
||||||
c.getW().addComment("JobsGUI.BackButtonSlot", "Defines back button slot in GUI");
|
c.getW().addComment("JobsGUI.BackButtonSlot", "Defines back button slot in GUI");
|
||||||
|
Loading…
Reference in New Issue
Block a user