This should make default optional as well

This commit is contained in:
Auke Kok 2017-02-20 10:37:13 -08:00
parent 0f157571a5
commit d426c601b4
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
default
default?
fire?

View File

@ -164,7 +164,7 @@ lightning.strike = function(pos)
end
-- perform block modifications
if rng:next(1,10) > 1 then
if not default or rng:next(1,10) > 1 then
return
end
pos2.y = pos2.y - 1