Quarry will no longer allow to dig if it has fuel

This commit is contained in:
0siribix 2021-09-26 17:57:23 -05:00
parent 956b91f030
commit a6abefe8d3

@ -417,7 +417,7 @@ minetest.register_node("tubelib_addons1:quarry_defect", {
return false
end
local inv = M(pos):get_inventory()
return inv:is_empty("main")
return inv:is_empty("main") and inv:is_empty("fuel")
end,
after_dig_node = function(pos, oldnode, oldmetadata, digger)