From ad1b9e5cdd2fb66f12b4a7f0f3486fa0b59b7532 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 8 Jun 2019 17:35:56 +0100 Subject: [PATCH] fix item pickup animation --- src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php b/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php index 27911c09b..549ee4d28 100644 --- a/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/TakeItemEntityPacket.php @@ -38,8 +38,8 @@ class TakeItemEntityPacket extends DataPacket implements ClientboundPacket{ public static function create(int $takerEntityRuntimeId, int $itemEntityRuntimeId) : self{ $result = new self; - $result->target = $takerEntityRuntimeId; - $result->eid = $itemEntityRuntimeId; + $result->target = $itemEntityRuntimeId; + $result->eid = $takerEntityRuntimeId; return $result; }