diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtppos.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java index 7aa0e66f8..203628753 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java @@ -28,7 +28,7 @@ public class Commandtppos extends EssentialsCommand final Location location = new Location(user.getWorld(), x, y, z); if (args.length > 3) { - location.setYaw(Float.parseFloat(args[3])); + location.setYaw((Float.parseFloat(args[3]) + 180 + 360) % 360); } if (args.length > 4) { |