mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Fixed Server description not being displayed
This commit is contained in:
parent
aecfbbbdc1
commit
d90e41c0d5
1 changed files with 3 additions and 1 deletions
|
|
@ -539,7 +539,9 @@ class PocketMinecraftServer{
|
||||||
$this->custom["times_".$CID] = 0;
|
$this->custom["times_".$CID] = 0;
|
||||||
}
|
}
|
||||||
$ln = 15;
|
$ln = 15;
|
||||||
|
if($this->description == ""){
|
||||||
$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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue