mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Fixed size on MobSpawnParticle
This commit is contained in:
@ -1246,7 +1246,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
|
|
||||||
$this->lastUpdate = $currentTick;
|
$this->lastUpdate = $currentTick;
|
||||||
|
|
||||||
if($this->spawned){
|
if($this->spawned){
|
||||||
$this->processMovement($currentTick);
|
$this->processMovement($currentTick);
|
||||||
|
|
||||||
$this->entityBaseTick(1);
|
$this->entityBaseTick(1);
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user