From e83e424671c403a829c2560ca77c680769937728 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 13 Feb 2014 01:04:50 +0100 Subject: [PATCH] Removed entity limits --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index e96703152..11e3e81f8 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -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(); return false; }