Removed incorrect unloaded chunk detection

This commit is contained in:
Shoghi Cervantes
2013-05-31 11:53:50 +02:00
parent 0522052c75
commit d7f74a6725
2 changed files with 3 additions and 14 deletions

View File

@ -108,18 +108,18 @@ class Entity extends Position{
$this->stack = (int) $this->data["stack"];
}
$this->setHealth(5, "generic");
$this->server->schedule(5, array($this, "update"), array(), true);
$this->server->schedule(10, array($this, "update"), array(), true);
$this->size = 0.5;
break;
case ENTITY_MOB:
$this->setHealth($this->data["Health"], "generic");
$this->server->schedule(5, array($this, "update"), array(), true);
$this->server->schedule(10, array($this, "update"), array(), true);
//$this->setName((isset($mobs[$this->type]) ? $mobs[$this->type]:$this->type));
$this->size = 1;
break;
case ENTITY_FALLING:
$this->setHealth(PHP_INT_MAX, "generic");
$this->server->schedule(5, array($this, "update"), array(), true);
$this->server->schedule(10, array($this, "update"), array(), true);
$this->size = 0.98;
break;
case ENTITY_OBJECT: