mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Fixed a typo ;)
This commit is contained in:
parent
ed61111aca
commit
a5229cc34e
@ -52,7 +52,7 @@ class BanAPI{
|
||||
console("[INFO] Usage: /kick <playername> [reason]");
|
||||
}else{
|
||||
$name = array_shift($params);
|
||||
$player = $this->api->player->get($name);
|
||||
$player = $this->server->api->player->get($name);
|
||||
if($player === false){
|
||||
console("[ERROR] Player \"".$name."\" does not exist");
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user