mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed #62
This commit is contained in:
parent
d988b27b16
commit
17161d7cd0
@ -420,6 +420,9 @@ class PocketMinecraftServer{
|
|||||||
$this->custom["times_".$CID] = 0;
|
$this->custom["times_".$CID] = 0;
|
||||||
}
|
}
|
||||||
$ln = 15;
|
$ln = 15;
|
||||||
|
if(strlen($this->description) === 0){
|
||||||
|
$this->description = "";
|
||||||
|
}
|
||||||
$txt = substr($this->description, $this->custom["times_".$CID], $ln);
|
$txt = substr($this->description, $this->custom["times_".$CID], $ln);
|
||||||
$txt .= substr($this->description, 0, $ln - strlen($txt));
|
$txt .= substr($this->description, 0, $ln - strlen($txt));
|
||||||
$this->send(0x1c, array(
|
$this->send(0x1c, array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user