From 29d786b948f52d5ec4ae3f31f90e23a3e81bdc9a Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Sun, 30 Jun 2019 22:26:09 -0700 Subject: [PATCH] HotColdClue: Improve behavior on visibly shaking location This change causes the locations list to be narrowed on all locator orb checks, having the consequence of narrowing the list to the visibly shaking location (for better display via `makeOverlayHint()'). The call to `reset()' must be removed as it would re-add all locations to the instance's solver when finding the dig location, which effectively reverses the apparent narrowing the overlay displayed until that point. --- .../client/plugins/cluescrolls/clues/HotColdClue.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java index 5fad4e4207..3ea30d27b6 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java @@ -296,11 +296,11 @@ public class HotColdClue extends ClueScroll implements LocationClueScroll, Locat else { location = null; - - final HotColdTemperatureChange temperatureChange = HotColdTemperatureChange.of(message); - hotColdSolver.signal(localWorld, temperature, temperatureChange); } + final HotColdTemperatureChange temperatureChange = HotColdTemperatureChange.of(message); + hotColdSolver.signal(localWorld, temperature, temperatureChange); + return true; } @@ -339,7 +339,6 @@ public class HotColdClue extends ClueScroll implements LocationClueScroll, Locat private void markFinalSpot(WorldPoint wp) { this.location = wp; - reset(); } public String[] getNpcs()