Fixed small bug - SHRUG WORKS
This commit is contained in:
parent
2594721152
commit
7de0ecc87d
2 changed files with 2 additions and 3 deletions
|
@ -44,8 +44,7 @@ public class ChatProcessing {
|
|||
|
||||
private static ArrayList<ChatFormatter> commonFormatters = new ArrayList<>();
|
||||
|
||||
public static final ChatFormatter ESCAPE_FORMATTER = new ChatFormatterBuilder().setRegex(ESCAPE_PATTERN)
|
||||
.setRemoveCharPos((short) 0).build();
|
||||
public static final ChatFormatter ESCAPE_FORMATTER = new ChatFormatterBuilder().setRegex(ESCAPE_PATTERN).build();
|
||||
|
||||
private ChatProcessing() {
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ public final class ChatFormatter {
|
|||
combined.add(section);
|
||||
DebugCommand.SendDebugMessage("Added " + (!escaped ? "not " : "") + "escaped section: " + section);
|
||||
continue;
|
||||
} // TODO: Actually combine overlapping sections
|
||||
}
|
||||
if (!escaped) {
|
||||
if (nextSection.containsKey(section.Formatters.get(0))) {
|
||||
FormattedSection s = nextSection.remove(section.Formatters.get(0));
|
||||
|
|
Loading…
Reference in a new issue