diff --git a/dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt b/dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt index 084ae6e5..ec4f090d 100644 --- a/dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt +++ b/dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt @@ -131,7 +131,7 @@ interface TextLayout : HudLayout { override val pattern: String = yamlObject["pattern"]?.asString().ifNull("pattern value not set: $s") override val scale: Double = yamlObject.getAsDouble("scale", 1.0) - override val space: Int = yamlObject.getAsInt("space", 0).coerceAtLeast(0) + override val space: Int = yamlObject.getAsInt("space", 0) override val align: LayoutAlign = yamlObject["align"]?.asString().toLayoutAlign() override val lineAlign: LayoutAlign = yamlObject["line-align"]?.asString().toLayoutAlign() override val color: TextColor = yamlObject["color"]?.asString()?.toTextColor() ?: NamedTextColor.WHITE