/give command

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-05 11:34:08 +01:00
parent f23c2f894d
commit f0393f9b93
2 changed files with 35 additions and 10 deletions

View File

@@ -33,7 +33,6 @@ class EntityAPI{
public function init(){
$this->server->addHandler("player.death", array($this, "handle"), 1);
$this->server->api->console->register("give", "Give items to a player [DUMMY]", array($this, "commandHandler"));
}
public function handle($data, $event){
@@ -61,15 +60,6 @@ class EntityAPI{
break;
}
}
public function commandHandler($cmd, $params){
switch($cmd){
case "give":
break;
}
}
public function get($eid){
if(isset($this->server->entities[$eid])){