mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Remove word wrapping in ColorCodeBuilder.build().
This commit is contained in:
parent
0c7aa20cbe
commit
ca7bb1a3f5
@ -39,7 +39,7 @@ public class ColorCodeBuilder {
|
|||||||
public String[] build(StyledFragment message) {
|
public String[] build(StyledFragment message) {
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
buildFragment(builder, message, message.getStyle(), new StyleSet());
|
buildFragment(builder, message, message.getStyle(), new StyleSet());
|
||||||
return wordWrap(builder.toString(), GUARANTEED_NO_WRAP_CHAT_PAGE_WIDTH);
|
return builder.toString().split("\r?\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user