Skip to content

Commit

Permalink
Revert "Fix sticky pistons (#403)" (#458)
Browse files Browse the repository at this point in the history
This reverts commit d8f82e6.
  • Loading branch information
Desour authored and SmallJoker committed Mar 17, 2019
1 parent 737f366 commit 073c92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesecons_mvps/init.lua
Expand Up @@ -217,7 +217,7 @@ function mesecon.mvps_move_objects(pos, dir, nodestack, movefactor)
movefactor = movefactor or 1
dir = vector.multiply(dir, movefactor)
for id, obj in pairs(minetest.object_refs) do
local obj_pos = obj:getpos()
local obj_pos = obj:get_pos()
local cbox = obj:get_properties().collisionbox
local min_pos = vector.add(obj_pos, vector.new(cbox[1], cbox[2], cbox[3]))
local max_pos = vector.add(obj_pos, vector.new(cbox[4], cbox[5], cbox[6]))
Expand Down

0 comments on commit 073c92d

Please sign in to comment.