HybridDog / nether-pack

migrated to codeberg
https://codeberg.org/HybridDog/nether-pack
Other
5 stars 8 forks source link

Fix portal player y pos being off by 1 node sometimes #12

Closed Desour closed 2 years ago

Desour commented 2 years ago

There were some changes in how vector.round rounds: https://github.com/minetest/minetest/pull/10803 => It now rounds y down if at y<0 (i.e. in nether).

The new pos uses the highest node that contains the feet.

(collisionbox[2] is 0 by default in mtg, btw.)