mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Mob spawning!
This commit is contained in:
parent
a735ca460c
commit
51bb3faf39
5 changed files with 25 additions and 3 deletions
|
|
@ -351,14 +351,12 @@ class Session{
|
|||
$this->counter[0],
|
||||
0x00,
|
||||
array(
|
||||
"id" => MC_ADD_ITEM_ENTITY,
|
||||
"id" => MC_ADD_MOB,
|
||||
"eid" => $entity->eid,
|
||||
"type" => $entity->type,
|
||||
"x" => $entity->position["x"],
|
||||
"y" => $entity->position["y"],
|
||||
"z" => $entity->position["z"],
|
||||
"block" => 10,
|
||||
"meta" => 0,
|
||||
),
|
||||
));
|
||||
++$this->counter[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue