mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-26 10:01:49 +01:00
Remove +180 on yaw in .
This commit is contained in:
parent
75d1254dda
commit
5540683013
@ -37,7 +37,7 @@ public class Commandgetpos extends EssentialsCommand {
|
||||
sender.sendMessage(tl("posX", coords.getBlockX()));
|
||||
sender.sendMessage(tl("posY", coords.getBlockY()));
|
||||
sender.sendMessage(tl("posZ", coords.getBlockZ()));
|
||||
sender.sendMessage(tl("posYaw", (coords.getYaw() + 180 + 360) % 360));
|
||||
sender.sendMessage(tl("posYaw", (coords.getYaw() + 360) % 360));
|
||||
sender.sendMessage(tl("posPitch", coords.getPitch()));
|
||||
if (distance != null && coords.getWorld().equals(distance.getWorld())) {
|
||||
sender.sendMessage(tl("distance", coords.distance(distance)));
|
||||
|
Loading…
Reference in New Issue
Block a user