0
0
Fork 0

Update deprecated function call in mesecons_mvps

This commit is contained in:
Wuzzy 2019-02-02 00:12:57 +01:00
parent 6fbefaef09
commit f23fa236dd
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ function mesecon.mvps_move_objects(pos, dir, nodestack)
end end
-- Move objects lying/standing on the stack (before it was pushed - oldstack) -- Move objects lying/standing on the stack (before it was pushed - oldstack)
if tonumber(minetest.setting_get("movement_gravity")) > 0 and dir.y == 0 then if tonumber(minetest.settings:get("movement_gravity")) > 0 and dir.y == 0 then
-- If gravity positive and dir horizontal, push players standing on the stack -- If gravity positive and dir horizontal, push players standing on the stack
for _, n in ipairs(nodestack) do for _, n in ipairs(nodestack) do
local p_above = vector.add(n.pos, {x=0, y=1, z=0}) local p_above = vector.add(n.pos, {x=0, y=1, z=0})