Fixed Description

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-17 23:23:45 +01:00
parent a24da0e5ad
commit 1d9e1fde79

View File

@ -421,9 +421,7 @@ class PocketMinecraftServer{
$this->custom["times_".$CID] = 0;
}
$ln = 15;
if(strlen($this->description) === 0){
$this->description = "";
}
$this->description .= " ";
$txt = substr($this->description, $this->custom["times_".$CID], $ln);
$txt .= substr($this->description, 0, $ln - strlen($txt));
$this->send(0x1c, array(