aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/BestiaryData.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/BestiaryData.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/BestiaryData.kt
index 104d6b25f..30505ca83 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/BestiaryData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/BestiaryData.kt
@@ -479,7 +479,7 @@ object BestiaryData {
}
fun String.romanOrInt() = romanToDecimalIfNeeded().let {
- if (config.replaceRoman) it.toString() else it.toRoman()
+ if (config.replaceRoman || it == 0) it.toString() else it.toRoman()
}
fun Any.getNextLevel(): String {