mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Kick reason grammar
This commit is contained in:
parent
f60fdb5e61
commit
6e74bb7faf
@ -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 " . $player->getName() . " with reason: " . $reason);
|
||||
}else{
|
||||
$sender->sendMessage($name . " not found.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user