mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Fixed data sending, more particles
This commit is contained in:
@ -48,7 +48,7 @@ class Zombie extends Monster{
|
||||
$pk->z = $this->z;
|
||||
$pk->yaw = $this->yaw;
|
||||
$pk->pitch = $this->pitch;
|
||||
$pk->metadata = $this->getData();
|
||||
$pk->metadata = $this->dataProperties;
|
||||
$player->dataPacket($pk);
|
||||
|
||||
$player->addEntityMotion($this->getId(), $this->motionX, $this->motionY, $this->motionZ);
|
||||
@ -78,4 +78,4 @@ class Zombie extends Monster{
|
||||
|
||||
return $drops;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user