Fixed a typo ;)

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-17 16:37:53 +01:00
parent ed61111aca
commit a5229cc34e

View File

@ -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{