pop4959 / ChunkyBorder

An add-on for Chunky which lets you create and manage world borders.
GNU General Public License v3.0
47 stars 11 forks source link

(Fabric) Use correct player when respawning #68

Closed roro1506HD closed 8 months ago

roro1506HD commented 8 months ago

This fixes a bug preventing players from respawning at their respawn position if that respawn position is outside the previous world the player was in.

For example, if the player dies in the nether, and the nether has a border set to 1000, if the player's respawn position is above 1000, even if it's inside the respawning world's border, then it'll prevent the player from respawning there. This PR fixes that behavior.

pop4959 commented 8 months ago

Looks good, thank you for the fix! 🎉