Removed entity limits

This commit is contained in:
Shoghi Cervantes 2014-02-13 01:04:50 +01:00
parent 3e68972253
commit e83e424671

View File

@ -296,7 +296,7 @@ class Entity extends Position{
} }
} }
if($this->class !== ENTITY_PLAYER and ($this->x <= 0 or $this->z <= 0 or $this->x >= 256 or $this->z >= 256 or $this->y >= 128 or $this->y <= 0)){ if($this->class !== ENTITY_PLAYER and ($this->y >= 128 or $this->y <= 0)){
$this->close(); $this->close();
return false; return false;
} }