forked from VoxeLibre/VoxeLibre
Add spawnbox parameter that overrides collision box for spawn volume checks
This commit is contained in:
parent
ce0a34d667
commit
377c507529
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue