From 7b60552ec149a756f8afdd43bb6f85e2a29870fe Mon Sep 17 00:00:00 2001 From: Ali Moghnieh Date: Sat, 31 Oct 2015 20:47:04 +0000 Subject: [PATCH] /tppos shouldn't add 180 to yaw. Fixes #225 --- .../src/com/earth2me/essentials/commands/Commandtppos.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java index bffbd591d..7f370b951 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java @@ -61,7 +61,7 @@ public class Commandtppos extends EssentialsCommand { loc.setWorld(ess.getWorld(args[4])); } if (args.length > 5) { - loc.setYaw((FloatUtil.parseFloat(args[4]) + 180 + 360) % 360); + loc.setYaw((FloatUtil.parseFloat(args[4]) + 360) % 360); loc.setPitch(FloatUtil.parseFloat(args[5])); } if (args.length > 6) {