mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +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;
|
||||
|
||||
if($this->spawned){
|
||||
if($this->spawned){
|
||||
$this->processMovement($currentTick);
|
||||
|
||||
$this->entityBaseTick(1);
|
||||
|
@@ -41,7 +41,7 @@ class MobSpawnParticle extends Particle{
|
||||
$pk->x = $this->x;
|
||||
$pk->y = $this->y;
|
||||
$pk->z = $this->z;
|
||||
$pk->data = 0;
|
||||
$pk->data = ($this->width & 0xff) + (($this->height & 0xff) << 8);
|
||||
|
||||
return $pk;
|
||||
}
|
||||
|
Reference in New Issue
Block a user