mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +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{
|
public static function create(int $takerEntityRuntimeId, int $itemEntityRuntimeId) : self{
|
||||||
$result = new self;
|
$result = new self;
|
||||||
$result->target = $takerEntityRuntimeId;
|
$result->target = $itemEntityRuntimeId;
|
||||||
$result->eid = $itemEntityRuntimeId;
|
$result->eid = $takerEntityRuntimeId;
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user