aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/rift
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/rift')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/area/westvillage/KloonHacking.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/area/westvillage/KloonHacking.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/area/westvillage/KloonHacking.kt
index 3aaafc42a..aa598c10b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/area/westvillage/KloonHacking.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/area/westvillage/KloonHacking.kt
@@ -115,9 +115,9 @@ class KloonHacking {
if (!RiftAPI.inRift()) return
if (!config.waypoints) return
if (!wearingHelmet) return
- val hidden = ProfileStorageData.profileSpecific?.rift ?: return
+ val storage = ProfileStorageData.profileSpecific?.rift ?: return
for (terminal in KloonTerminal.entries) {
- if (terminal !in hidden.completedKloonTerminals) {
+ if (terminal !in storage.completedKloonTerminals) {
event.drawWaypointFilled(terminal.location, LorenzColor.DARK_RED.toColor(), true, true)
}
}
@@ -128,11 +128,11 @@ class KloonHacking {
if (!RiftAPI.inRift()) return
if (!wearingHelmet) return
pattern.matchMatcher(event.message.removeColor()) {
- val hidden = ProfileStorageData.profileSpecific?.rift ?: return
+ val storage = ProfileStorageData.profileSpecific?.rift ?: return
val colour = group("colour")
val completedTerminal = KloonTerminal.entries.firstOrNull { it.name == colour } ?: return
if (completedTerminal != nearestTerminal) return
- hidden.completedKloonTerminals.add(completedTerminal)
+ storage.completedKloonTerminals.add(completedTerminal)
}
}