Added TODO
This commit is contained in:
parent
cb91125028
commit
4a454da723
1 changed files with 2 additions and 2 deletions
|
@ -145,14 +145,14 @@ public final class ChatFormatter {
|
||||||
if (formatter.openlink != null)
|
if (formatter.openlink != null)
|
||||||
openlink = formatter.openlink;
|
openlink = formatter.openlink;
|
||||||
if (formatter.removecharcount != 0) {
|
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);
|
removecharpositions.add(section.End - formatter.removecharcount);
|
||||||
}
|
}
|
||||||
if (formatter.removecharpos != -1)
|
if (formatter.removecharpos != -1)
|
||||||
removecharpositions.add((int) formatter.removecharpos);
|
removecharpositions.add((int) formatter.removecharpos);
|
||||||
}
|
}
|
||||||
TellrawPart newtp = new TellrawPart("");
|
TellrawPart newtp = new TellrawPart("");
|
||||||
StringBuilder origtextsb = new StringBuilder(originaltext);
|
StringBuilder origtextsb = new StringBuilder(originaltext); // TODO
|
||||||
newtp.setText(origtextsb.toString());
|
newtp.setText(origtextsb.toString());
|
||||||
if (color != null)
|
if (color != null)
|
||||||
newtp.setColor(color);
|
newtp.setColor(color);
|
||||||
|
|
Loading…
Reference in a new issue