mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-19 09:26:45 +00:00
Do not wrap text if unknown characters are found.
This commit is contained in:
parent
500a690cd0
commit
204915450f
@ -70,6 +70,8 @@ abstract class TextWrapper{
|
||||
|
||||
++$lineLength;
|
||||
$lineWidth += $width;
|
||||
}else{
|
||||
return $text;
|
||||
}
|
||||
|
||||
$result .= $char;
|
||||
|
Loading…
x
Reference in New Issue
Block a user