mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -35,7 +35,8 @@ class UpdateAttributesPacket extends DataPacket{
|
||||
public $entries = [];
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->entityId = $this->getEntityRuntimeId();
|
||||
$this->entries = $this->getAttributeList();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user