Fixed size on MobSpawnParticle

This commit is contained in:
Shoghi Cervantes 2015-03-13 16:21:33 +01:00
parent 9e0b9a6e5b
commit 91e8bdbd37
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}