diff --git a/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php b/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php index b5706530f..64a267b96 100644 --- a/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php @@ -37,7 +37,8 @@ class TakeItemEntityPacket extends DataPacket{ public $eid; protected function decodePayload() : void{ - + $this->target = $this->getEntityRuntimeId(); + $this->eid = $this->getEntityRuntimeId(); } protected function encodePayload() : void{