From 4a454da723a8206dc88058128a22c9ae00d216c8 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 24 Sep 2016 13:27:58 +0200 Subject: [PATCH] Added TODO --- .../java/buttondevteam/chat/formatting/ChatFormatter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/buttondevteam/chat/formatting/ChatFormatter.java b/src/main/java/buttondevteam/chat/formatting/ChatFormatter.java index 8899eae..684492a 100644 --- a/src/main/java/buttondevteam/chat/formatting/ChatFormatter.java +++ b/src/main/java/buttondevteam/chat/formatting/ChatFormatter.java @@ -145,14 +145,14 @@ public final class ChatFormatter { if (formatter.openlink != null) openlink = formatter.openlink; if (formatter.removecharcount != 0) { - removecharpositions.add(section.Start + formatter.removecharcount); // TODO + removecharpositions.add(section.Start + formatter.removecharcount); // TODO: Do this before combining the sections removecharpositions.add(section.End - formatter.removecharcount); } if (formatter.removecharpos != -1) removecharpositions.add((int) formatter.removecharpos); } TellrawPart newtp = new TellrawPart(""); - StringBuilder origtextsb = new StringBuilder(originaltext); + StringBuilder origtextsb = new StringBuilder(originaltext); // TODO newtp.setText(origtextsb.toString()); if (color != null) newtp.setColor(color);