1
0
mirror of https://github.com/minetest-mods/nether.git synced 2025-05-02 17:20:31 +02:00

fumaroles: don't extinguish fires outside of the nether ()

thanks
This commit is contained in:
fluxionary 2022-11-13 05:55:49 -08:00 committed by GitHub
parent 12ca98c25a
commit a8a6bb00c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -784,7 +784,7 @@ local function fumarole_onTimer(pos, elapsed)
local smoke_time_adj = 1 local smoke_time_adj = 1
local posAbove = {x = pos.x, y = pos.y + 1, z = pos.z} 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 if extinguish or (canCatchFire and math.floor(elapsed) % 7 == 0) then