fixed error

This commit is contained in:
kremsy 2014-01-12 20:59:32 +01:00 committed by Steffen Schröder
parent 7ca3e8ded5
commit a550ed9e0e

View File

@ -120,7 +120,7 @@ class PlayerCommands implements CommandListener, ManialinkPageAnswerListener {
* @param array $chatCallback
* @param Player $player
*/
public function command_Warn(array $chatCallback, Player $player) {
public function command_Warn(array $chat, Player $player) {
$params = explode(' ', $chat[1][2], 3);
if(count($params) <= 1) {
$this->maniaControl->chat->sendUsageInfo("No Login given! Example: '//kick login'", $player->login);