mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Fixed Server description not being displayed
This commit is contained in:
@@ -539,7 +539,9 @@ class PocketMinecraftServer{
|
|||||||
$this->custom["times_".$CID] = 0;
|
$this->custom["times_".$CID] = 0;
|
||||||
}
|
}
|
||||||
$ln = 15;
|
$ln = 15;
|
||||||
$this->description .= " ";
|
if($this->description == ""){
|
||||||
|
$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(
|
||||||
|
Reference in New Issue
Block a user