micu wrote: ↑Mon Jun 07, 2021 15:32
I see... I checked both stable 5.4.1 and latest development branches. These do not produce crashes for me.
It's strange because biogasmachines should work with any 5.x version unless underlying game API or mod API obsoletes them. My machines are based on original Joe7575's Grinder (a good reference machine for TechPack modder), so please check if Grinder fails as well, which may point to versions mismatch.
Never had a problem with the grinder or any of those nodes, but it doesn't use the same after_dig call. It's
after_dig_node = function(pos, oldnode, oldmetadata, digger)
tubelib.remove_node(pos)
end,
while yours is
after_dig_node = function(pos, oldnode, oldmetadata, digger)
machine:after_dig_node(pos, oldnode, oldmetadata, digger)
after_dig_node(pos, oldnode, oldmetadata, digger)
end,
Maybe there is a change between 5.3 and 5.4 affecting this.