From e78fe7189272074169b71dd2b6520323516a5194 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Fri, 15 Mar 2019 17:08:42 -0700 Subject: [PATCH] boosts plugin: Fix overlay below-threshold color This patch updates the boosts overlay to match the threshold color comparison used in the plugin (for notifications) and in the indicator infobox. --- .../java/net/runelite/client/plugins/boosts/BoostsOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/boosts/BoostsOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/boosts/BoostsOverlay.java index a02ee25e94..bebfcee730 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/boosts/BoostsOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/boosts/BoostsOverlay.java @@ -137,7 +137,7 @@ class BoostsOverlay extends Overlay return new Color(238, 51, 51); } - return boost < config.boostThreshold() ? Color.YELLOW : Color.GREEN; + return boost <= config.boostThreshold() ? Color.YELLOW : Color.GREEN; } }