mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fixed /kill player name
This commit is contained in:
@ -57,7 +57,7 @@ class KickCommand extends VanillaCommand{
|
||||
$sender->sendMessage($name . " not found.");
|
||||
}
|
||||
|
||||
Command::broadcastCommandMessage($sender, "Kicked player " . $name . ". With reason: " . $reason);
|
||||
Command::broadcastCommandMessage($sender, "Kicked player " . $player->getName() . ". With reason: " . $reason);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user