mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Remove +180 on yaw in .
This commit is contained in:
parent
75d1254dda
commit
5540683013
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class Commandgetpos extends EssentialsCommand {
|
|||
sender.sendMessage(tl("posX", coords.getBlockX()));
|
||||
sender.sendMessage(tl("posY", coords.getBlockY()));
|
||||
sender.sendMessage(tl("posZ", coords.getBlockZ()));
|
||||
sender.sendMessage(tl("posYaw", (coords.getYaw() + 180 + 360) % 360));
|
||||
sender.sendMessage(tl("posYaw", (coords.getYaw() + 360) % 360));
|
||||
sender.sendMessage(tl("posPitch", coords.getPitch()));
|
||||
if (distance != null && coords.getWorld().equals(distance.getWorld())) {
|
||||
sender.sendMessage(tl("distance", coords.distance(distance)));
|
||||
|
|
Loading…
Reference in a new issue