mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +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;
|
public $eid;
|
||||||
|
|
||||||
protected function decodePayload(){
|
protected function decodePayload(){
|
||||||
|
$this->target = $this->getEntityRuntimeId();
|
||||||
|
$this->eid = $this->getEntityRuntimeId();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function encodePayload(){
|
protected function encodePayload(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user