diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/rift')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/EnigmaSoulWaypoints.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/EnigmaSoulWaypoints.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/EnigmaSoulWaypoints.kt index c4c275cfa..56efab49b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/EnigmaSoulWaypoints.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/EnigmaSoulWaypoints.kt @@ -147,9 +147,9 @@ object EnigmaSoulWaypoints { @SubscribeEvent fun onRepoReload(event: RepositoryReloadEvent) { val data = event.getConstant<EnigmaSoulsJson>("EnigmaSouls") - val areas = data.areas ?: error("'areas' is null in EnigmaSouls!") + val areas = data.areas soulLocations = buildMap { - for ((area, locations) in areas) { + for ((_, locations) in areas) { for (location in locations) { this[location.name] = location.position } |
