Remove +180 on yaw in .

This commit is contained in:
Ali Moghnieh 2016-07-22 16:26:56 +01:00
parent 75d1254dda
commit 5540683013
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70

View File

@ -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)));