mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 02:19:33 +01:00
Fix wrong mob spawning distance from player
This commit is contained in:
parent
cd1b8e9d2f
commit
059629c51f
1 changed files with 1 additions and 1 deletions
|
@ -3982,7 +3982,7 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light,
|
|||
pos.y = pos.y + 1
|
||||
|
||||
-- only spawn away from player
|
||||
local objs = minetest.get_objects_inside_radius(pos, 10)
|
||||
local objs = minetest.get_objects_inside_radius(pos, 16)
|
||||
|
||||
for n = 1, #objs do
|
||||
|
||||
|
|
Loading…
Reference in a new issue