forked from minetest-mods/lightning
This should make default optional as well
This commit is contained in:
@ -1,2 +1,2 @@
|
|||||||
default
|
default?
|
||||||
fire?
|
fire?
|
||||||
|
2
init.lua
2
init.lua
@ -164,7 +164,7 @@ lightning.strike = function(pos)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- perform block modifications
|
-- perform block modifications
|
||||||
if rng:next(1,10) > 1 then
|
if not default or rng:next(1,10) > 1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
pos2.y = pos2.y - 1
|
pos2.y = pos2.y - 1
|
||||||
|
Reference in New Issue
Block a user