From 1d9e1fde79f08cd1165589c115284b1ad5fca696 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 17 Jan 2013 23:23:45 +0100 Subject: [PATCH] Fixed Description --- src/classes/PocketMinecraftServer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/classes/PocketMinecraftServer.php b/src/classes/PocketMinecraftServer.php index bf7e4486c..823718656 100644 --- a/src/classes/PocketMinecraftServer.php +++ b/src/classes/PocketMinecraftServer.php @@ -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(