Rename indicators->infoboxes in boosts plugin config (#8405)

Closes #8402
This commit is contained in:
Eric
2019-04-05 16:43:34 +10:00
committed by Tomas Slusny
parent 3b73583bbc
commit ec0e853c1c
4 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ public class BoostIndicator extends InfoBox
@Override
public boolean render()
{
if (config.displayIndicators() && plugin.canShowBoosts() && plugin.getShownSkills().contains(getSkill()))
if (config.displayInfoboxes() && plugin.canShowBoosts() && plugin.getShownSkills().contains(getSkill()))
{
return client.getBoostedSkillLevel(skill) != client.getRealSkillLevel(skill);
}

View File

@@ -62,11 +62,11 @@ public interface BoostsConfig extends Config
@ConfigItem(
keyName = "displayIndicators",
name = "Display as indicators",
description = "Configures whether or not to display the boost as indicators",
name = "Display as infoboxes",
description = "Configures whether or not to display the boost as infoboxes",
position = 3
)
default boolean displayIndicators()
default boolean displayInfoboxes()
{
return false;
}

View File

@@ -62,7 +62,7 @@ class BoostsOverlay extends Overlay
@Override
public Dimension render(Graphics2D graphics)
{
if (config.displayIndicators())
if (config.displayInfoboxes())
{
return null;
}

View File

@@ -61,6 +61,6 @@ public class StatChangeIndicator extends InfoBox
public boolean render()
{
final int time = up ? plugin.getChangeUpTicks() : plugin.getChangeDownTicks();
return config.displayIndicators() && time != -1;
return config.displayInfoboxes() && time != -1;
}
}