1
0
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:
502647092 2016-09-05 13:40:54 +08:00
parent a19d4ce98c
commit c96c1d8426

View File

@ -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;
}
}