aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-30 19:55:49 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-30 19:55:49 +0200
commitd17378adde42379b0835d81665c93a1c38b892bf (patch)
tree7c96906872dd8bcd6b6d7748309ceb98a4079e8c /src/main/java/at
parent76a7d6f71772c630b05c993a34dea9c8e34c6b86 (diff)
downloadskyhanni-d17378adde42379b0835d81665c93a1c38b892bf.tar.gz
skyhanni-d17378adde42379b0835d81665c93a1c38b892bf.tar.bz2
skyhanni-d17378adde42379b0835d81665c93a1c38b892bf.zip
Fixed rare bug when loading config
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
index 65bbce484..2596ef124 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
@@ -139,7 +139,7 @@ class QuestLoader(private val dailyQuestHelper: DailyQuestHelper) {
}
fun loadConfig(storage: Storage.ProfileSpecific.CrimsonIsleStorage) {
- for (text in storage.quests) {
+ for (text in storage.quests.toList()) {
val split = text.split(":")
val name = split[0]
val state = QuestState.valueOf(split[1])