From 827ee5d4f9b080bbe36b3ec74d423357e6e32474 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 26 Sep 2017 18:33:34 +0100 Subject: [PATCH] Fixed falling blocks glitching when spawned this now (finally) works flawlessly --- 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 56f05d7e7..57f4843ea 100644 --- a/src/pocketmine/entity/FallingSand.php +++ b/src/pocketmine/entity/FallingSand.php @@ -125,7 +125,7 @@ class FallingSand extends Entity{ $pk = new AddEntityPacket(); $pk->type = FallingSand::NETWORK_ID; $pk->entityRuntimeId = $this->getId(); - $pk->position = $this->asVector3(); + $pk->position = $this->getOffsetPosition($this); $pk->motion = $this->getMotion(); $pk->yaw = $this->yaw; $pk->pitch = $this->pitch;