CoreProtect

CoreProtect

1M Downloads

Problem with teleportation on distant coordinates

Imperatr1ce opened this issue · 4 comments

commented

When we are trying to automatically teleport according to the list (screenshot) to large coordinates, it teleport us to coordinate z:1

image

commented

As far as I’m aware, 1.44684815E7 is not a valid coordinate. Numbers in scientific notation are not supported.

1.44 is interpreted as 1, which is intended behaviour.

commented

The CoreProtect plugin, when clicking on the /co lookup list, automatically fills in coordinates and teleports the player to them, but in this case, the coordinates x835094/y-42/z14468481 are represented as x: 835094 y: -42 z: 1.44684815E7, not like that 835094 -42 14468481.
Because of this player teleports incorrectly

commented

This is a valid issue, see following image
Screenshot_20230128_195828_Chrome

This is the exact number they had, and if you parse to double it changes to that.

commented

Fixed in 7424037