Hopper compatibility and iron furnace fix #11
@ -378,7 +378,7 @@ function industrialtest.internal.registerMachine(config)
|
||||
return inv, "src", mcl_util.select_stack(hop_inv, hop_list, inv, "src")
|
||||
end
|
||||
definition._mcl_hoppers_on_after_push=function(pos)
|
||||
minetest.get_node_timer(pos):start(1.0)
|
||||
minetest.get_node_timer(pos):start(industrialtest.updateDelay)
|
||||
mrkubax10 marked this conversation as resolved
Outdated
|
||||
end
|
||||
end
|
||||
definition.groups._industrialtest_wrenchUnmountable=1
|
||||
|
@ -306,7 +306,7 @@ elseif industrialtest.mclAvailable then
|
||||
definition._mcl_hoppers_on_try_pull = mcl_furnaces.hoppers_on_try_pull
|
||||
definition._mcl_hoppers_on_try_push = mcl_furnaces.hoppers_on_try_push
|
||||
definition._mcl_hoppers_on_after_push = function(pos)
|
||||
mrkubax10 marked this conversation as resolved
Outdated
mrkubax10
commented
Same as above. Same as above.
|
||||
minetest.get_node_timer(pos):start(1.0)
|
||||
minetest.get_node_timer(pos):start(industrialtest.updateDelay)
|
||||
end
|
||||
end
|
||||
minetest.register_node("industrialtest:iron_furnace",definition)
|
||||
|
Loading…
x
Reference in New Issue
Block a user
Use
industrialtest.updateDelay
instead of hardcoding1.0
.