mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
fix item pickup animation
This commit is contained in:
parent
43dfc8ae0f
commit
ad1b9e5cdd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user