From 55406830136bb39fc0e4b9a1ba633b4ddf4768e4 Mon Sep 17 00:00:00 2001 From: Ali Moghnieh Date: Fri, 22 Jul 2016 16:26:56 +0100 Subject: [PATCH] Remove +180 on yaw in . --- .../src/com/earth2me/essentials/commands/Commandgetpos.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java b/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java index c0a412320..751a2e800 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java @@ -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)));