mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-13 19:52:03 +01:00
/tppos shouldn't add 180 to yaw. Fixes #225
This commit is contained in:
parent
26045e2ec0
commit
7b60552ec1
@ -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 New Issue
Block a user