diff --git a/src/classes/PocketMinecraftServer.php b/src/classes/PocketMinecraftServer.php index d5650fd77..4cc36c377 100644 --- a/src/classes/PocketMinecraftServer.php +++ b/src/classes/PocketMinecraftServer.php @@ -420,6 +420,9 @@ class PocketMinecraftServer{ $this->custom["times_".$CID] = 0; } $ln = 15; + if(strlen($this->description) === 0){ + $this->description = ""; + } $txt = substr($this->description, $this->custom["times_".$CID], $ln); $txt .= substr($this->description, 0, $ln - strlen($txt)); $this->send(0x1c, array(