From 25ecdcf6e2d745ad2879ae6462dd71f4bd407ff0 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 6 Jul 2014 12:59:41 +0200 Subject: [PATCH] Fixed physics BoundingBox --- src/pocketmine/entity/Entity.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index b100073ac..572f7b6d6 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -779,10 +779,10 @@ abstract class Entity extends Position implements Metadatable{ $this->motionZ = 0; } - //$this->boundingBox->addCoord($dx, $dy, $dz); - //$this->x += $dx; - //$this->y += $dy; - //$this->z += $dz; + $this->boundingBox->addCoord($dx, $dy, $dz); + $this->x += $dx; + $this->y += $dy; + $this->z += $dz; $cx = $this->x - $ox; $cy = $this->y - $oy;