mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
TakeItemEntityPacket: add missing decode, close #2633
This commit is contained in:
parent
d71a543d10
commit
11b59498d9
@ -37,7 +37,8 @@ class TakeItemEntityPacket extends DataPacket{
|
||||
public $eid;
|
||||
|
||||
protected function decodePayload(){
|
||||
|
||||
$this->target = $this->getEntityRuntimeId();
|
||||
$this->eid = $this->getEntityRuntimeId();
|
||||
}
|
||||
|
||||
protected function encodePayload(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user