Mojira Archive
MC-199976

Teleporting a player with a large rotation increment can cause the disabling of a world

Running the following command or doing anything similar will cause the player's rotation to become invalid, causing the current world to crash. Upon rejoining the same world, the entire client will crash giving the following error:

The game crashed whilst loading entity nbt
Error: java.lang.IllegalStateException: Entity has invalid rotation
Exit Code: -1

and this was the command:

tp @s ~ ~ ~ ~100000000000000000000000000000 ~

 This is quite bad since it can mean that if a player is gullible enough to run it on themselves, they can lock themselves out of their world without being able to manually repair their player NBT, which most players are unaware of how to do.

Further, taking a look at the player nbt afterwards, the issue is immidiately clear:

 

Duplicate

SirSheepe

2020-09-11, 03:00 AM

2020-09-11, 03:05 AM

2020-09-11, 03:03 AM

0

0

Unconfirmed

(Unassigned)

1.16.3

-