You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Thisway is used, the plugin ignores current player position exacts.
Example:
The player is at coordinates (X, Y, Z): 1417.50000, 80.000, 1483.50000
The player's yaw is ~0.5. This is SOUTH.
When the command is run to go forward one block,
...the coordinates are approximated.
Debug output will show initial player coordinates (To the plugin) as: 1417, 80, 1483
Thisway is assuming that instead of [relative coordinates] being (X, Z (Relative)): ~.5, ~.5
...That the plugin ignores precision and goes with 0 as the precise decimal coordinate, thus (X, Z (Relative)): ~.0, ~.0
Possible solutions:
Either:
Make the plugin teleport the player to (X, Y, Z (Relative to new TP location)): ~.5, ~, ~.5. Instead of ~.0, ~.0, ~.0. This will make the new TP location in the center of the new block.
Make Bukkit/Spigot understand the precise coordinates when modifying them to teleport. This way, teleporting from somewhere which is not (relatively) ~.0, ~.0, ~.0 - will teleport to the same precise coordinate. i.e: Teleporting from 189.51, 90, 194.58 will preserve the decimals in the coordinate, making the player's new relative coordinates still ~.51, ~, ~.58.
The text was updated successfully, but these errors were encountered:
When Thisway is used, the plugin ignores current player position exacts.
Example:
The player is at coordinates (X, Y, Z):
1417.50000
,80.000
,1483.50000
The player's yaw is ~
0.5
. This isSOUTH
.When the command is run to go forward one block,
...the coordinates are approximated.
Debug output will show initial player coordinates (To the plugin) as:
1417
,80
,1483
Thisway is assuming that instead of [relative coordinates] being (X, Z (Relative)):
~.5
,~.5
...That the plugin ignores precision and goes with
0
as the precise decimal coordinate, thus (X, Z (Relative)):~.0
,~.0
Possible solutions:
Either:
~.5
,~
,~.5
. Instead of~.0
,~.0
,~.0
. This will make the new TP location in the center of the new block.~.0, ~.0, ~.0
- will teleport to the same precise coordinate. i.e: Teleporting from189.51, 90, 194.58
will preserve the decimals in the coordinate, making the player's new relative coordinates still~.51, ~, ~.58
.The text was updated successfully, but these errors were encountered: