Merge branch 'main' into dev
This commit is contained in:
commit
0be468496b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue