Royalphax/UltimateSheepWars

Player dies randomly

Royalphax opened this issue · 2 comments

Report:

sometimes player die after teleport to map (it happens randomly, not an error in the set position in map) screenshot. ypxo.

I think that it's caused when a player jump over the void before teleporting.
My solution: player.setFallDamage(0.0D).

Issue solved by using the previous solution and by making that the player fly during teleportation to avoid fall damage.