diff options
-rw-r--r-- | mesecons_movestones/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index b17874f..a7e5f2c 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -68,7 +68,7 @@ minetest.register_node("mesecons_movestones:movestone", { local checknode={} local collpos={x=pos.x, y=pos.y, z=pos.z} repeat -- Check if it collides with a stopper - collpos = addPosRule(collpos, direction) + collpos = mesecon:addPosRule(collpos, direction) checknode=minetest.env:get_node(collpos) if mesecon:is_mvps_stopper(checknode.name) then return @@ -138,7 +138,7 @@ minetest.register_node("mesecons_movestones:sticky_movestone", { local checknode={} local collpos={x=pos.x, y=pos.y, z=pos.z} repeat -- Check if it collides with a stopper - collpos = addPosRule(collpos, direction) + collpos = mesecon:addPosRule(collpos, direction) checknode=minetest.env:get_node(collpos) if mesecon:is_mvps_stopper(checknode.name) then return |