mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fixing optional argument on tppos to use the correct yaw value.
This commit is contained in:
parent
4ad19b6fad
commit
ae4c10ced6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue