From a8a6bb00c557de48026824db84103d35aa34f9ab Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Sun, 13 Nov 2022 05:55:49 -0800 Subject: [PATCH] fumaroles: don't extinguish fires outside of the nether (#60) thanks --- nodes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.lua b/nodes.lua index f222c48..9aa0d9d 100644 --- a/nodes.lua +++ b/nodes.lua @@ -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