Fixed DebugPotato not WordWrapping
This commit is contained in:
parent
85d2506da7
commit
7ca344e4f9
1 changed files with 134 additions and 133 deletions
|
@ -66,8 +66,8 @@ public class DebugPotato {
|
|||
* @return This potato
|
||||
*/
|
||||
public DebugPotato setMessage(String[] message) {
|
||||
this.message = Arrays.asList(message);
|
||||
return this;
|
||||
return setMessage(Arrays.asList(message));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -113,6 +113,7 @@ public class DebugPotato {
|
|||
currentLineLength = word.length();
|
||||
}
|
||||
}
|
||||
newMessage.add(currentLine);
|
||||
return newMessage;
|
||||
}
|
||||
public ItemStack toItemStack() {
|
||||
|
|
Loading…
Reference in a new issue