Fix wrong mob spawning distance from player
This commit is contained in:
parent
cd1b8e9d2f
commit
059629c51f
|
@ -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 New Issue