From 167ee975691408ccb359cd203cdae1cd9109c4a8 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Fri, 11 Jul 2014 22:14:57 +0930 Subject: [PATCH] Fix kick command broadcast message. --- src/pocketmine/command/defaults/KickCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/command/defaults/KickCommand.php b/src/pocketmine/command/defaults/KickCommand.php index 881411d1c..820d429c3 100644 --- a/src/pocketmine/command/defaults/KickCommand.php +++ b/src/pocketmine/command/defaults/KickCommand.php @@ -53,7 +53,7 @@ public function execute(CommandSender $sender, $currentAlias, array $args){ if(($player = $sender->getServer()->getPlayer($name)) instanceof Player){ $player->kick($reason); - Command::broadcastCommandMessage($sender, "Kicked " . $player->getName() . " from the game: " . $reason); + Command::broadcastCommandMessage($sender, "Kicked " . $player->getName() . " from the game: '{$reason}'"); }else{ $sender->sendMessage($name . " not found."); }