aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt
index d711273f5..bea8bb294 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt
@@ -277,6 +277,9 @@ object MaxwellAPI {
return@matchMatcher
}
}
+
+ // If Magical Power isn't in the lore
+ magicalPower = 0
}
private fun getPowerByNameOrNull(name: String) = powers.find { it == name }