playerindicators: Fix agility overhead icons (#1898)

playerindicators: Fix agility overhead icons
This commit is contained in:
ST0NEWALL
2019-11-06 16:25:22 -05:00
committed by GitHub

View File

@@ -180,14 +180,14 @@ public class PlayerIndicatorsOverlay extends Overlay
textLocation.getY() - height),
ImageUtil.resizeImage(agilityIcon, height, height));
}
else if (level >= plugin.getAgilitySecondThreshold())
if (level >= plugin.getAgilitySecondThreshold())
{
OverlayUtil.renderImageLocation(graphics,
new Point(textLocation.getX() + agilityIcon.getWidth() + width,
textLocation.getY() - height),
ImageUtil.resizeImage(agilityIcon, height, height));
}
else if (level < plugin.getAgilityFirstThreshold())
if (level < plugin.getAgilityFirstThreshold())
{
OverlayUtil.renderImageLocation(graphics,
new Point(textLocation.getX() + 5 + width,