From c96c1d8426c58875dea2cd6491af9b5e60dc7ffd Mon Sep 17 00:00:00 2001 From: 502647092 Date: Mon, 5 Sep 2016 13:40:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=93=E4=B8=8A=E4=B8=80=E4=B8=B2?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E4=B8=8D=E5=AD=98=E5=9C=A8=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=97=B6then=E9=BB=98=E8=AE=A4=E4=BD=BF=E7=94=A8=E6=9C=AC?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java b/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java index 4478015..8abb742 100644 --- a/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java +++ b/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java @@ -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; } }