From aecfbbbdc17748f448d6e53750e266dc2a8f290c Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 7 Mar 2013 17:56:33 +0100 Subject: [PATCH] Removed flying damage --- src/world/Entity.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index 3680f007..66354647 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -326,12 +326,6 @@ class Entity extends stdClass{ }elseif($y > $this->fallY){ $this->fallY = $y; } - if($this->fallY !== false and ($this->fallStart + 8) < microtime(true)){ //Flying - $this->harm(1, "flying"); - if($y > $this->fallY){ - $this->fallY = $y; - } - } }elseif($this->fallY !== false){ //Fall damage! if($y < $this->fallY){ $d = $this->server->api->block->getBlock(new Vector3($x, $y + 1, $z));