diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index d2f1fc69e..8435d14fd 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -1404,7 +1404,7 @@ class Level implements ChunkManager, Metadatable{ public function dropItem(Vector3 $source, Item $item, Vector3 $motion = null, $delay = 10){ $motion = $motion === null ? new Vector3(lcg_value() * 0.2 - 0.1, 0.2, lcg_value() * 0.2 - 0.1) : $motion; if($item->getId() > 0 and $item->getCount() > 0){ - $itemEntity = Entity::createEntity("Item", $this->getChunk($source->getX() >> 4, $source->getZ() >> 4), new Compound("", [ + $itemEntity = Entity::createEntity("Item", $this->getChunk($source->getX() >> 4, $source->getZ() >> 4, true), new Compound("", [ "Pos" => new Enum("Pos", [ new Double("", $source->getX()), new Double("", $source->getY()),