Player dies randomly
Royalphax opened this issue · 2 comments
Royalphax commented
Report:
sometimes player die after teleport to map (it happens randomly, not an error in the set position in map) screenshot. ypxo.
Royalphax commented
I think that it's caused when a player jump over the void before teleporting.
My solution: player.setFallDamage(0.0D)
.
Royalphax commented
Issue solved by using the previous solution and by making that the player fly during teleportation to avoid fall damage.