fixed entity spawn

This commit is contained in:
GameHerobrine 2023-03-02 07:42:51 +03:00
parent 2ccdbf5259
commit 0b10f2b8df

View file

@ -22,7 +22,7 @@ class AddEntityPacket extends RakNetDataPacket{
public function encode(){
$this->reset();
$this->putInt($this->eid);
$this->putByte($this->type);
$this->putInt($this->type);
$this->putFloat($this->x);
$this->putFloat($this->y);
$this->putFloat($this->z);
@ -34,4 +34,4 @@ class AddEntityPacket extends RakNetDataPacket{
}
}
}
}