mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fixed AddMobPacket's Type - (is now int)
Thanks @Intyre!
This commit is contained in:
parent
0c5f920dfd
commit
58d7599d6f
@ -45,12 +45,12 @@ class AddMobPacket extends DataPacket{
|
||||
$this->reset();
|
||||
$this->putInt($this->eid);
|
||||
$this->putInt($this->type);
|
||||
$this->putFloat($this->x);
|
||||
$this->putFloat($this->y);
|
||||
$this->putFloat($this->z);
|
||||
$this->putInt($this->x);
|
||||
$this->putInt($this->y);
|
||||
$this->putInt($this->z);
|
||||
$this->putByte(floor($this->yaw * (256 / 360)));
|
||||
$this->putByte(floor($this->pitch * (256 / 360)));
|
||||
$this->put(Binary::writeMetadata($this->metadata));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user