diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/CombatUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/CombatUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/CombatUtils.kt index 362654807..5edd33bc0 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/CombatUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/CombatUtils.kt @@ -30,7 +30,7 @@ object CombatUtils { return try { val a = xpInformation as? MixinXPInformation a!!.getTotalXp().toFloat() - } catch (e: Exception) { + } catch (e: Error) { val xpInfo = xpInformation ?: return -1f xpInfo.totalXp } |