diff --git a/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php b/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php index 5fbe7a6be..608cc0317 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(){ - + $this->target = $this->getEntityRuntimeId(); + $this->eid = $this->getEntityRuntimeId(); } protected function encodePayload(){