/tppos shouldn't add 180 to yaw. Fixes #225

This commit is contained in:
Ali Moghnieh 2015-10-31 20:47:04 +00:00
parent 26045e2ec0
commit 7b60552ec1
1 changed files with 1 additions and 1 deletions

View File

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