diff --git a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/catlas/core/CatlasElement.kt b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/catlas/core/CatlasElement.kt index 1e97a93cb..96a612813 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/catlas/core/CatlasElement.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/catlas/core/CatlasElement.kt @@ -163,7 +163,7 @@ object CatlasElement : GuiElement(name = "Dungeon Map", x = 0, y = 0) { val secretText = when (CatlasConfig.foundRoomSecrets) { 0 -> secretCount.toString() - 1 -> "${unq.foundSecrets ?: "?"}/${secretCount}" + 1 -> if (secretCount == 0) "0" else "${unq.foundSecrets ?: "?"}/${secretCount}" 2 -> unq.foundSecrets?.toString() ?: "?" else -> error("Invalid foundRoomSecrets value") }