never spawn mobs if player within 12 nodes

master
TenPlus1 2020-05-01 18:48:07 +01:00
parent 32e8d069f7
commit 928f8c5479
1 changed files with 1 additions and 1 deletions

View File

@ -3655,7 +3655,7 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light,
end
-- only spawn away from player
local objs = minetest.get_objects_inside_radius(pos, 8)
local objs = minetest.get_objects_inside_radius(pos, 12)
for n = 1, #objs do