Fix wrong collision axis in Lua moveresult

introduced by c24a04d246
This commit is contained in:
sfan5 2024-05-17 13:00:41 +02:00 committed by Gregor Parzefall
parent f6cfe6b873
commit c4703a7f19
1 changed files with 1 additions and 1 deletions

View File

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