From 71584288dcd6dc97be3c2d9b0df48748d6914519 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Wed, 29 May 2013 12:11:12 +0200 Subject: [PATCH] Fixed Entity floor drag --- 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 8e16fe06..a9b40dd6 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -398,7 +398,7 @@ class Entity extends Position{ $this->speedY -= ($this->class === ENTITY_FALLING ? 16:32) * $tdiff; $update = true; }else{ - if($this->speedY < 0){ + if($this->speedY <= 0){ $this->speedX = 0; $this->speedY = 0; $this->speedZ = 0;