diff --git a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt index 985888f..4a790d0 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt @@ -49,7 +49,7 @@ object Storage { if (clock) { with(Clock.System.now().toLocalDateTime(currentTimezone)) { FontUtil.drawScaled(it.first() as PoseStack, - "$hour:$minute:${second.let { if (it > 10) it else "0$it" }}", + "$hour:$minute:${second.let { if (it >= 10) it else "0$it" }}", 5.0, 5.0, 0.85F, color = 0xe69500 )