aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/rift
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 16:09:43 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 16:09:43 +0100
commitd4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9 (patch)
treededbeb3c0ddc551a03da869208d7ffc47952d91e /src/main/java/at/hannibal2/skyhanni/features/rift
parent940095657152c8a0323f1c261c1454b8035bea61 (diff)
downloadskyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.tar.gz
skyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.tar.bz2
skyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.zip
no more hidden stuff: renamed "config" and "hidden" to "storage" when working with stuff from ProfileStorageData
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)
}
}