fixes related to packets and entities

This commit is contained in:
GameHerobrine 2023-02-21 16:25:34 +03:00
parent abe7846bb9
commit 1ecbc1d308
6 changed files with 12 additions and 16 deletions

View file

@ -12,7 +12,6 @@ class UpdateBlockPacket extends RakNetDataPacket{
}
public function decode(){
}
public function encode(){

View file

@ -25,7 +25,7 @@ class UseItemPacket extends RakNetDataPacket{
$this->z = $this->getInt();
$this->face = $this->getInt();
$this->item = $this->getShort();
$this->meta = $this->getByte(); //Mojang: fix this
$this->meta = $this->getShort();
$this->eid = $this->getInt();
$this->fx = $this->getFloat();
$this->fy = $this->getFloat();