mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -33,7 +33,8 @@ class SetEntityDataPacket extends DataPacket{
|
||||
public $metadata;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->eid = $this->getEntityRuntimeId();
|
||||
$this->metadata = $this->getEntityMetadata();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user