mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed a typo ;)
This commit is contained in:
parent
ed61111aca
commit
a5229cc34e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue