Add spawnbox parameter that overrides collision box for spawn volume checks

This commit is contained in:
teknomunk 2024-06-17 20:27:55 -05:00
parent 170c6780f4
commit 789049615e
1 changed files with 1 additions and 1 deletions

View File

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