Added regeneration fix, item despawn and damage check

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-27 18:23:51 +01:00
parent 2eb93c1676
commit 67341c6420
3 changed files with 32 additions and 23 deletions

View file

@ -450,9 +450,6 @@ class Player{
$this->entity->data["clientID"] = $this->clientID;
$this->server->api->entity->spawnAll($this);
$this->server->api->entity->spawnToAll($this->eid);
$this->dataPacket(MC_SET_HEALTH, array(
"health" => $this->entity->health,
));
$this->evid[] = $this->server->event("server.time", array($this, "eventHandler"));
$this->evid[] = $this->server->event("server.chat", array($this, "eventHandler"));
$this->evid[] = $this->server->event("entity.remove", array($this, "eventHandler"));