mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-10 18:21:05 +01:00
Add spawnbox parameter that overrides collision box for spawn volume checks
This commit is contained in:
parent
b6aafedf25
commit
d8d39ffd52
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,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 a new issue