diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-05-01 19:07:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 19:07:36 +0200 |
commit | 7e3f72289763747427e03011a99c22548177e0a3 (patch) | |
tree | a9f056b749b7d03ed6ab59dd664ac5b985524255 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 31ce78216b6990bbb87e4aca81b99151acf80b64 (diff) | |
download | skyhanni-7e3f72289763747427e03011a99c22548177e0a3.tar.gz skyhanni-7e3f72289763747427e03011a99c22548177e0a3.tar.bz2 skyhanni-7e3f72289763747427e03011a99c22548177e0a3.zip |
Fix: Magical Power not setting to 0 when the Line doesn't exist (#1632)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/MaxwellAPI.kt | 3 |
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 } |