Fixed falling blocks glitching when spawned

this now (finally) works flawlessly
This commit is contained in:
Dylan K. Taylor 2017-09-26 18:33:34 +01:00
parent f5b0cbb337
commit 827ee5d4f9

View File

@ -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;