Fixed old & deprecated plugins not being able to create a config file

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-26 17:32:56 +01:00
parent 00c3201580
commit afbb5fab04
4 changed files with 5 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ class PlayerAPI{
case "kill":
$player = $this->get(implode(" ", $params));
if($player !== false){
$this->server->api->entity->harm($player->eid, 20, "console");
$this->server->api->entity->harm($player->eid, 20, "console", true);
}else{
console("[INFO] Usage: /kill <player>");
}