mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed entity spawn
This commit is contained in:
parent
2ccdbf5259
commit
0b10f2b8df
1 changed files with 2 additions and 2 deletions
|
|
@ -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{
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue