diff --git a/src/API/EntityAPI.php b/src/API/EntityAPI.php index 9e2403f01..5e8140e31 100644 --- a/src/API/EntityAPI.php +++ b/src/API/EntityAPI.php @@ -124,6 +124,7 @@ class EntityAPI{ "x" => $pos->x + mt_rand(-10, 10) / 50, "y" => $pos->y + 0.19, "z" => $pos->z + mt_rand(-10, 10) / 50, + "level" => $pos->level, //"speedX" => mt_rand(-3, 3) / 8, "speedY" => mt_rand(5, 8) / 2, //"speedZ" => mt_rand(-3, 3) / 8, @@ -170,4 +171,4 @@ class EntityAPI{ unset($entity); } } -} \ No newline at end of file +}