Skip to content

Commit 39bafe8

Browse files
committed
fix: remove extra space in separator text in CommonComponents
1 parent 699fa50 commit 39bafe8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
javaVersion=21
88
mcVersion=1.21.7
99
group=dev.slne.surf
10-
version=1.21.7-2.30.1
10+
version=1.21.7-2.30.2
1111
relocationPrefix=dev.slne.surf.surfapi.libs
1212
snapshot=false

surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/messages/CommonComponents.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ object CommonComponents {
385385
val separator = buildText0 {
386386
appendNewline()
387387
append(linePrefix)
388-
appendText(" ", SPACER)
388+
appendText("", SPACER)
389389
}
390390
val joinConfig = JoinConfiguration.builder().separator(separator).build()
391391

@@ -430,7 +430,7 @@ object CommonComponents {
430430
val separator = buildText0 {
431431
appendNewline()
432432
append(linePrefix)
433-
appendText(" ", SPACER)
433+
appendText("", SPACER)
434434
}
435435
val joinConfig = JoinConfiguration.builder().separator(separator).build()
436436
val firstPrefix = if (map.isNotEmpty()) separator else Component.empty()

0 commit comments

Comments
 (0)