Added TODO

This commit is contained in:
Norbi Peti 2016-09-24 13:27:58 +02:00
parent cb91125028
commit 4a454da723

View file

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