mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
mob bodies should drop
This commit is contained in:
parent
157f794c7f
commit
0aaa0e70df
4 changed files with 12 additions and 15 deletions
|
|
@ -34,7 +34,7 @@ class Sheep extends Animal{
|
|||
}
|
||||
$pk = new EntityEventPacket;
|
||||
$pk->eid = $this->eid;
|
||||
$pk->event = 10;
|
||||
$pk->event = EntityEventPacket::ENTITY_ANIM_10;
|
||||
$this->server->api->player->broadcastPacket($this->level->players, $pk);
|
||||
$this->server->schedule(38, [$this, "setSheared"], false);
|
||||
$this->level->setblock(new Position($this->x, $this->y-1, $this->z, $this->level), new DirtBlock());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue