mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -34,7 +34,9 @@ class SetEntityLinkPacket extends DataPacket{
|
||||
public $type;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->from = $this->getEntityUniqueId();
|
||||
$this->to = $this->getEntityUniqueId();
|
||||
$this->type = $this->getByte();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user