1
0
Fork 0

Fix wrong mob spawning distance from player

objects
Elias Fleckenstein 2021-01-05 20:29:10 +01:00
parent cd1b8e9d2f
commit 059629c51f
1 changed files with 1 additions and 1 deletions

View File

@ -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