mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 07:59:44 +00:00
/tppos shouldn't add 180 to yaw. Fixes #225
This commit is contained in:
parent
26045e2ec0
commit
7b60552ec1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue