mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Mob spawning!
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user