CoreProtect

CoreProtect

1M Downloads

Wrong teleport location on lookup result with large coordinates

radiant-ai opened this issue ยท 2 comments

commented

CoreProtect teleports to wrong location when attempted to do so on very large coordinates (10,000,000+).

Using:
image

Reproduction steps:

  1. Teleport far away from world center (/tp @a 10000010 100 5).
  2. Place a block.
  3. Do a lookup (/co l radius:5 action:block time:1h).
  4. Click on chat component with teleport:
    image
  5. Notice wrong teleport location.

If we try to use large negative coordinates (e.g. /tp @a -10000010 100 5) the teleportation stops working completely:

image

I think something wrong happens when CoreProtect builds clickable chat component.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

Duplicate of #322 / #491