From e8e2ab3dab83923e82e5335cb4dcff54d84cffdb Mon Sep 17 00:00:00 2001 From: 502647092 Date: Mon, 22 Aug 2016 20:57:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtip=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E6=88=AA=E5=8F=96=E9=94=99=E8=AF=AF?= 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 | 2 +- 1 file changed, 1 insertion(+), 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 f2d2680..107affd 100644 --- a/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java +++ b/src/main/java/pw/yumc/YumCore/tellraw/Tellraw.java @@ -160,7 +160,7 @@ public class Tellraw { for (final String t : texts) { text.append(t).append("\n"); } - return tip(text.toString().substring(0, text.length() - 2)); + return tip(text.toString().substring(0, text.length() - 1)); } /**