Fix wrong collision axis in Lua moveresult

introduced by c24a04d246221e13a626f4a4dd34037a5332a935
This commit is contained in:
sfan5 2024-05-17 13:00:41 +02:00 committed by Gregor Parzefall
parent f6cfe6b873
commit c4703a7f19

@ -110,7 +110,7 @@ if core.set_push_moveresult1 then
standing_on_object = b2, standing_on_object = b2,
collisions = {{ collisions = {{
type = "node", type = "node",
axis = AXES[axis], axis = AXES[axis + 1],
node_pos = vector.new(npx, npy, npz), node_pos = vector.new(npx, npy, npz),
new_pos = vector.new(v0x, v0y, v0z), new_pos = vector.new(v0x, v0y, v0z),
old_velocity = vector.new(v1x, v1y, v1z), old_velocity = vector.new(v1x, v1y, v1z),