From 377c50752978793e8309928e4882d767a43e913a Mon Sep 17 00:00:00 2001 From: teknomunk Date: Mon, 17 Jun 2024 20:27:55 -0500 Subject: [PATCH] Add spawnbox parameter that overrides collision box for spawn volume checks --- mods/ENTITIES/mcl_mobs/spawning.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 7ccfdb499..14d497817 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -737,7 +737,7 @@ local function get_water_spawn(p) end local function has_room(self,pos) - local cb = self.collisionbox + local cb = self.spawnbox or self.collisionbox local nodes = {} if self.fly_in then local t = type(self.fly_in)