aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-09-10 15:57:22 +0200
committerGitHub <noreply@github.com>2024-09-10 15:57:22 +0200
commitd9b6bce816727327db4b69144b36827bfc1ad453 (patch)
treeb87ba065c16bee783caa35233149d6182fd55c9d /src/main
parent3da4862fee4a445842f338d6fe5f7d0643874163 (diff)
downloadskyhanni-d9b6bce816727327db4b69144b36827bfc1ad453.tar.gz
skyhanni-d9b6bce816727327db4b69144b36827bfc1ad453.tar.bz2
skyhanni-d9b6bce816727327db4b69144b36827bfc1ad453.zip
Fix : Glacite Commissions tunnel map (#2485)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
index b6c1c81d0..afe5694b1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
@@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.data.model.findShortestPathAsGraphWithDistance
import at.hannibal2.skyhanni.events.ConfigLoadEvent
import at.hannibal2.skyhanni.events.GuiContainerEvent
import at.hannibal2.skyhanni.events.GuiRenderEvent
+import at.hannibal2.skyhanni.events.InventoryCloseEvent
import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
import at.hannibal2.skyhanni.events.IslandChangeEvent
import at.hannibal2.skyhanni.events.ItemClickEvent
@@ -196,6 +197,11 @@ object TunnelsMaps {
}
@SubscribeEvent
+ fun onInventoryClose(event: InventoryCloseEvent) {
+ clickTranslate = mapOf()
+ }
+
+ @SubscribeEvent
fun onRenderItemTooltip(event: LorenzToolTipEvent) {
if (!isEnabled()) return
clickTranslate[event.slot.slotIndex]?.let {