mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 04:38:35 +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]");
|
console("[INFO] Usage: /kick <playername> [reason]");
|
||||||
}else{
|
}else{
|
||||||
$name = array_shift($params);
|
$name = array_shift($params);
|
||||||
$player = $this->api->player->get($name);
|
$player = $this->server->api->player->get($name);
|
||||||
if($player === false){
|
if($player === false){
|
||||||
console("[ERROR] Player \"".$name."\" does not exist");
|
console("[ERROR] Player \"".$name."\" does not exist");
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user