mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Kick message reflects Vanila MCPC not Bukkit
This commit is contained in:
parent
6e74bb7faf
commit
53214005cd
@ -53,7 +53,7 @@ class KickCommand extends VanillaCommand{
|
||||
|
||||
if(($player = $sender->getServer()->getPlayer($name)) instanceof Player){
|
||||
$player->kick($reason);
|
||||
Command::broadcastCommandMessage($sender, "Kicked player " . $player->getName() . " with reason: " . $reason);
|
||||
Command::broadcastCommandMessage($sender, "Kicked " . $player->getName() . " from the game: " . $reason);
|
||||
}else{
|
||||
$sender->sendMessage($name . " not found.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user