mirror of
https://github.com/minetest-mods/nether.git
synced 2024-09-27 14:50:38 +02:00
fumaroles: don't extinguish fires outside of the nether
This commit is contained in:
parent
12ca98c25a
commit
73b8c1551e
|
@ -784,7 +784,7 @@ local function fumarole_onTimer(pos, elapsed)
|
|||
local smoke_time_adj = 1
|
||||
|
||||
local posAbove = {x = pos.x, y = pos.y + 1, z = pos.z}
|
||||
local extinguish = minetest.get_node(posAbove).name ~= "air"
|
||||
local extinguish = inNether and minetest.get_node(posAbove).name ~= "air"
|
||||
|
||||
if extinguish or (canCatchFire and math.floor(elapsed) % 7 == 0) then
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user