forked from Mirrorlandia_minetest/mod-sneeker
Add nil check to sneeker.boom method
This commit is contained in:
parent
776bd77a61
commit
be4da85462
@ -288,6 +288,8 @@ local function explode(pos, radius)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function sneeker.boom(pos, large)
|
function sneeker.boom(pos, large)
|
||||||
|
if not pos then return end
|
||||||
|
|
||||||
local radius = radius
|
local radius = radius
|
||||||
if large then
|
if large then
|
||||||
radius = large_radius
|
radius = large_radius
|
||||||
|
Loading…
Reference in New Issue
Block a user