Teleporting things to Infinity / NaN is possible
The bug
The /teleport doesn't seem to check the number bounds anymore. Compare to 1.12, teleporting past 30 million is not possible and 1e1000 is not considered a valid value.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
How to reproduce
Issue the following commands:
/summon armor_stand /teleport @e[type=armor_stand] ~ ~ 1e1000
→ Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.
→ The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)
Environment
Windows 7
Linked Issues
is duplicated by1
Created Issue:
Teleporting things to Infinity / NaN is possible
1. Issue the following commands:
/summon armor_stand /tp @e[type=armor_stand] ~ ~ 1e10002. Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.
3. The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)
tp doesn't seem to check the number bounds anymore. Compare to 1.12, where issuing numbers in scientific notation is not possible, and teleporting past 30 million is not possible.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
Environment
Windows 7
1. Issue the following commands:
/summon armor_stand /tp @e[type=armor_stand] ~ ~ 1e1000
2.Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.3. The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)
tp doesn't seem to check the number bounds anymore. Compare to 1.12, where issuing numbers in scientific notation is not possible, and teleporting past 30 million is not possible.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
The bug
The /teleport doesn't seem to check the number bounds anymore. Compare to 1.12, teleporting past 30 million is not possible and 1e1000 is not considered a valid value.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
How to reproduce
Issue the following commands:
/summon armor_stand /tp @e[type=armor_stand] ~ ~ 1e1000→ Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.
→ The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)
The bug
The /teleport doesn't seem to check the number bounds anymore. Compare to 1.12, teleporting past 30 million is not possible and 1e1000 is not considered a valid value.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
How to reproduce
Issue the following commands:
/summon armor_stand /tp@e[type=armor_stand] ~ ~ 1e1000→ Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.
→ The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)The bug
The /teleport doesn't seem to check the number bounds anymore. Compare to 1.12, teleporting past 30 million is not possible and 1e1000 is not considered a valid value.
You can also teleport things to NaN, which also fails to parse as a valid coordinate in 1.12.
How to reproduce
Issue the following commands:
/summon armor_stand /teleport @e[type=armor_stand] ~ ~ 1e1000→ Teleported Armor Stand to something, something, Infinity appears in chat. The armor stand does not move.
→ The server freezes (chunkloading doesn't work, chat unresponsive, you know the drill)
is duplicated by
Relates to or likely rather duplicates MC-121787