diff options
Diffstat (limited to 'mesecons_torch')
-rw-r--r-- | mesecons_torch/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index 5d1ad8f..8b1632b 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -91,7 +91,7 @@ minetest.register_abm({ action = function(pos, node) local is_powered = false for _, rule in ipairs(torch_get_input_rules(node)) do - local src = mesecon.addPosRule(pos, rule) + local src = vector.add(pos, rule) if mesecon.is_power_on(src) then is_powered = true end |