Thanks to @Gameherobrine

This commit is contained in:
yefengeeeeeeeeeee 2025-05-03 15:32:20 +08:00
parent 9903b8b31b
commit a365acc727
14 changed files with 71 additions and 14 deletions

View file

@ -25,7 +25,6 @@ class SetEntityDataPacket extends RakNetDataPacket{
public function encode(){
$this->reset();
if($this->PROTOCOL >= ProtocolInfo8::CURRENT_PROTOCOL_8)
$this->putInt($this->eid);
$this->put(Utils::writeMetadata($this->metadata));
}