mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixes related to packets and entities
This commit is contained in:
parent
abe7846bb9
commit
1ecbc1d308
6 changed files with 12 additions and 16 deletions
|
|
@ -12,7 +12,6 @@ class UpdateBlockPacket extends RakNetDataPacket{
|
|||
}
|
||||
|
||||
public function decode(){
|
||||
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue