From d17378adde42379b0835d81665c93a1c38b892bf Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:55:49 +0200 Subject: Fixed rare bug when loading config --- .../skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at') 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]) -- cgit