mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-01-02 18:48:06 +01:00
ChatUtil: Append unwritten formatting in prefix mode
This commit is contained in:
parent
80696a1273
commit
02f595b109
@ -128,6 +128,9 @@ public class ChatUtil {
|
||||
current = legacy.charAt(++i);
|
||||
lastState.processNextControlChar(current);
|
||||
}
|
||||
if (isPrefix && !lastState.equals(builderState)) {
|
||||
lastState.appendTo(builder);
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user