From ab1966f763ed6cda66094d3f7884b33dde3834dc Mon Sep 17 00:00:00 2001 From: Jeija Date: Thu, 27 Dec 2012 22:33:09 +0100 Subject: Fix server crash when using movestones --- mesecons_movestones/init.lua | 4 ++-- 1 file 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 -- cgit v1.2.3