Remove word wrapping in ColorCodeBuilder.build().

This commit is contained in:
sk89q 2014-07-18 18:04:21 -07:00
parent 0c7aa20cbe
commit ca7bb1a3f5

View File

@ -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");
} }
/** /**