mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 21:59:52 +00:00
Fixed size on MobSpawnParticle
This commit is contained in:
parent
9e0b9a6e5b
commit
91e8bdbd37
@ -41,7 +41,7 @@ class MobSpawnParticle extends Particle{
|
|||||||
$pk->x = $this->x;
|
$pk->x = $this->x;
|
||||||
$pk->y = $this->y;
|
$pk->y = $this->y;
|
||||||
$pk->z = $this->z;
|
$pk->z = $this->z;
|
||||||
$pk->data = 0;
|
$pk->data = ($this->width & 0xff) + (($this->height & 0xff) << 8);
|
||||||
|
|
||||||
return $pk;
|
return $pk;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user