Rain now extinguishes fire, lightning now always makes fire
This commit is contained in:
parent
1c6f1591da
commit
f023a1962f
2 changed files with 4 additions and 7 deletions
|
@ -172,7 +172,7 @@ end
|
|||
-- ABM for extinguish fire
|
||||
if weather.allow_abm then
|
||||
minetest.register_abm({
|
||||
nodenames = {"fire:basic_flame"},
|
||||
nodenames = {"mcl_fire:fire"},
|
||||
interval = 4.0,
|
||||
chance = 2,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
|
@ -183,4 +183,4 @@ if weather.allow_abm then
|
|||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue