diff --git a/machines/transformer.lua b/machines/transformer.lua index ad7bd2e..d1b8fe6 100644 --- a/machines/transformer.lua +++ b/machines/transformer.lua @@ -20,7 +20,7 @@ local transformer={} transformer.onPowerFlow=function(pos,side,amount) local normalized=industrialtest.api.normalizeSide(pos,side) local def=minetest.registered_nodes[minetest.get_node(pos).name] - if normalized~=5 and amount>=def._industrialtest_lowerFlow then + if normalized~=5 and amount>def._industrialtest_lowerFlow then minetest.remove_node(pos) industrialtest.internal.explode(pos,2) end