more entity metadata

This commit is contained in:
GameHerobrine 2023-02-24 19:39:38 +03:00
parent 447638816e
commit 93765e8cc7
6 changed files with 67 additions and 7 deletions

View file

@ -9,7 +9,9 @@ class SetEntityDataPacket extends RakNetDataPacket{
}
public function decode(){
$this->eid = $this->getInt();
$b = $this->get(true);
$this->metadata = Utils::readMetadata($b, true);
}
public function encode(){