mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-26 15:37:30 +01:00
Merge pull request #108 from 0siribix/master
Quarry will no longer allow to dig if it has fuel
This commit is contained in:
commit
bec1ebf168
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user