Merge branch 'main' into dev

This commit is contained in:
ThePython 2023-11-21 13:27:50 -08:00
commit 0be468496b
1 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,9 @@ local function on_timer(pos, elapsed)
using_orb = false using_orb = false
end end
if minetest.get_natural_light(above) >= 14 then local light = minetest.get_natural_light(above)
if light and light >= 14 then
if check_for_furnaces(pos, 1, true) then if check_for_furnaces(pos, 1, true) then
-- do nothing, energy is being used for the furnace. -- do nothing, energy is being used for the furnace.
return true return true