fix: iron furnace was unbreakable

This commit is contained in:
Handful of Frogs 2024-05-10 11:29:04 +03:00
parent d01d03c3a3
commit 05bb4303b8

View File

@ -293,6 +293,7 @@ if industrialtest.mtgAvailable then
return not (inv:get_list("src")[1]:get_count()>0 or inv:get_list("fuel")[1]:get_count()>0 or inv:get_list("dst")[1]:get_count()>0) return not (inv:get_list("src")[1]:get_count()>0 or inv:get_list("fuel")[1]:get_count()>0 or inv:get_list("dst")[1]:get_count()>0)
end end
elseif industrialtest.mclAvailable then elseif industrialtest.mclAvailable then
definition.groups={pickaxey=1}
definition.after_dig_node=function(pos,oldnode,oldmeta) definition.after_dig_node=function(pos,oldnode,oldmeta)
industrialtest.internal.mclAfterDigNode(pos,oldmeta,{"src","fuel","dst"}) industrialtest.internal.mclAfterDigNode(pos,oldmeta,{"src","fuel","dst"})
end end