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

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
1 changed files with 1 additions and 1 deletions

View File

@ -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