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
|
* @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() {
|
||||||
|
|
Loading…
Reference in a new issue