mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Removed chat wrapping, deprecated TextWrapper
This commit is contained in:
@ -21,6 +21,10 @@
|
||||
|
||||
namespace pocketmine\utils;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
abstract class TextWrapper{
|
||||
|
||||
private static $characterWidths = [
|
||||
@ -47,6 +51,13 @@ abstract class TextWrapper{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* @param $text
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function wrap($text){
|
||||
$result = "";
|
||||
$len = strlen($text);
|
||||
|
Reference in New Issue
Block a user