From 8f21eb41ee2b722ea7b26f4259820a500a8df10f Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 7 Mar 2013 18:06:51 +0100 Subject: [PATCH] Added message separation --- src/PocketMinecraftServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PocketMinecraftServer.php b/src/PocketMinecraftServer.php index 70da1c8c..99a9fa74 100644 --- a/src/PocketMinecraftServer.php +++ b/src/PocketMinecraftServer.php @@ -539,7 +539,7 @@ class PocketMinecraftServer{ $this->custom["times_".$CID] = 0; } $ln = 15; - if($this->description == ""){ + if($this->description == "" or substr($this->description, -1) != " "){ $this->description .= " "; } $txt = substr($this->description, $this->custom["times_".$CID], $ln);