@@ -110,7 +110,7 @@ public class BoostsPlugin extends Plugin
|
|||||||
private long lastTickMillis;
|
private long lastTickMillis;
|
||||||
private final List<String> boostedSkillsChanged = new ArrayList<>();
|
private final List<String> boostedSkillsChanged = new ArrayList<>();
|
||||||
|
|
||||||
private boolean enableSkill;
|
private BoostsConfig.DisplayBoosts displayBoosts;
|
||||||
@Getter(AccessLevel.PACKAGE)
|
@Getter(AccessLevel.PACKAGE)
|
||||||
private boolean useRelativeBoost;
|
private boolean useRelativeBoost;
|
||||||
@Getter(AccessLevel.PACKAGE)
|
@Getter(AccessLevel.PACKAGE)
|
||||||
@@ -332,8 +332,7 @@ public class BoostsPlugin extends Plugin
|
|||||||
|
|
||||||
private void updateShownSkills()
|
private void updateShownSkills()
|
||||||
{
|
{
|
||||||
switch (config.displayBoosts())
|
switch (this.displayBoosts)
|
||||||
if (this.enableSkill)
|
|
||||||
{
|
{
|
||||||
case NONE:
|
case NONE:
|
||||||
shownSkills.removeAll(BOOSTABLE_COMBAT_SKILLS);
|
shownSkills.removeAll(BOOSTABLE_COMBAT_SKILLS);
|
||||||
@@ -458,7 +457,7 @@ public class BoostsPlugin extends Plugin
|
|||||||
|
|
||||||
private void updateConfig()
|
private void updateConfig()
|
||||||
{
|
{
|
||||||
this.enableSkill = config.enableSkill();
|
this.displayBoosts = config.displayBoosts();
|
||||||
this.useRelativeBoost = config.useRelativeBoost();
|
this.useRelativeBoost = config.useRelativeBoost();
|
||||||
this.displayInfoboxes = config.displayInfoboxes();
|
this.displayInfoboxes = config.displayInfoboxes();
|
||||||
this.displayIcons = config.displayIcons();
|
this.displayIcons = config.displayIcons();
|
||||||
|
|||||||
Reference in New Issue
Block a user