Skip to content

Commit c0dd49c

Browse files
committed
[2.3.2] Fix
1 parent 97b7c29 commit c0dd49c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=me.arasple.mc.trchat
2-
version=2.3.1
2+
version=2.3.2
33
kotlin.incremental=true
44
kotlin.incremental.java=true
55
kotlin.incremental.useClasspathSnapshot=true

project/module-chat/src/main/kotlin/taboolib/module/chat/ComponentText.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ interface ComponentText : Source {
2121
/** 追加另一个 [ComponentText] */
2222
operator fun plusAssign(other: ComponentText)
2323

24+
/** 添加文本块 */
25+
fun append(text: String): ComponentText = append(text, color = true)
26+
2427
/** 添加文本块 */
2528
fun append(text: String, color: Boolean = true): ComponentText
2629

0 commit comments

Comments
 (0)