From a06ff3d96b1dd1c21056a709aad1f2b71d222fd5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 29 Sep 2017 14:15:30 +0100 Subject: [PATCH] Revert "Fixed falling blocks glitching when spawned" This reverts commit 827ee5d4f9b080bbe36b3ec74d423357e6e32474. can't ever seem to get falling blocks right... should I blame mojang? --- src/pocketmine/entity/FallingSand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/entity/FallingSand.php b/src/pocketmine/entity/FallingSand.php index e8ec52e18..4a8550c23 100644 --- a/src/pocketmine/entity/FallingSand.php +++ b/src/pocketmine/entity/FallingSand.php @@ -141,7 +141,7 @@ class FallingSand extends Entity{ $pk = new AddEntityPacket(); $pk->type = FallingSand::NETWORK_ID; $pk->entityRuntimeId = $this->getId(); - $pk->position = $this->getOffsetPosition($this); + $pk->position = $this->asVector3(); $pk->motion = $this->getMotion(); $pk->yaw = $this->yaw; $pk->pitch = $this->pitch;