From 059629c51f03bd4e8c80d079716d2c4b78dc9e95 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Tue, 5 Jan 2021 20:29:10 +0100 Subject: [PATCH] Fix wrong mob spawning distance from player --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 5ef3b285f3..8b86e4b983 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -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