From a5229cc34eb9ddb20f9abf8d25a3f8ca604b9c1a Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 17 Jan 2013 16:37:53 +0100 Subject: [PATCH] Fixed a typo ;) --- src/API/BanAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index d8bffbb4..bf3fa6dc 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -52,7 +52,7 @@ class BanAPI{ console("[INFO] Usage: /kick [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{