mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixing WordWrap
This commit is contained in:
parent
42c7688c1a
commit
69d003af2d
@ -61,7 +61,7 @@ public class vMinecraftChat {
|
|||||||
|
|
||||||
//Loop through the words finding their length and increasing
|
//Loop through the words finding their length and increasing
|
||||||
//j, the end point for the sub string
|
//j, the end point for the sub string
|
||||||
while(split.get(0) != null && len <= lineLength && !split.isEmpty())
|
while(!split.isEmpty() && split.get(0) != null && len <= lineLength)
|
||||||
{
|
{
|
||||||
int wordLength = msgLength(split.get(0)) + 4;
|
int wordLength = msgLength(split.get(0)) + 4;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user