Fix wrong mob spawning distance from player

This commit is contained in:
Elias Fleckenstein 2021-01-05 20:29:10 +01:00
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