mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-12-24 06:58:51 +00:00
fix: 当上一串消息不存在文本时then默认使用本段
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
a19d4ce98c
commit
c96c1d8426
@ -301,8 +301,9 @@ public class Tellraw {
|
||||
final MessagePart last = latest();
|
||||
if (!last.hasText()) {
|
||||
last.text = part.text;
|
||||
} else {
|
||||
messageParts.add(part);
|
||||
}
|
||||
messageParts.add(part);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user