mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Fixed #62
This commit is contained in:
parent
d988b27b16
commit
17161d7cd0
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue