From b2e44e881b96d71dfd0c698ce52919f57f119d79 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sat, 21 Sep 2019 01:45:17 -0400 Subject: [PATCH] Fix agility overhead icons --- .../plugins/playerindicators/PlayerIndicatorsOverlay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java index 86dae6756b..dffc76d65d 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java @@ -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,