Fixed DebugPotato not WordWrapping

This commit is contained in:
alisolarflare 2016-11-25 19:59:13 -05:00
parent 85d2506da7
commit 7ca344e4f9

View file

@ -66,8 +66,8 @@ public class DebugPotato {
* @return This potato * @return This potato
*/ */
public DebugPotato setMessage(String[] message) { public DebugPotato setMessage(String[] message) {
this.message = Arrays.asList(message); return setMessage(Arrays.asList(message));
return this;
} }
/** /**
@ -113,6 +113,7 @@ public class DebugPotato {
currentLineLength = word.length(); currentLineLength = word.length();
} }
} }
newMessage.add(currentLine);
return newMessage; return newMessage;
} }
public ItemStack toItemStack() { public ItemStack toItemStack() {