mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
TakeItemEntityPacket: add missing decode, close #2633
This commit is contained in:
@ -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(){
|
||||||
|
Reference in New Issue
Block a user