diff --git a/FightSystem_API/src/de/steamwar/fightsystem/Config.java b/FightSystem_API/src/de/steamwar/fightsystem/Config.java index 0b1e83f..0464811 100644 --- a/FightSystem_API/src/de/steamwar/fightsystem/Config.java +++ b/FightSystem_API/src/de/steamwar/fightsystem/Config.java @@ -268,7 +268,7 @@ public class Config { Vector v1 = TeamBlueSpawn.toVector().subtract(TeamRedSpawn.toVector()); double pitch = Math.toDegrees(v1.angle(v1.clone().setY(0))); - double yaw = Math.toDegrees(v1.clone().setY(0).angle(new Vector(0, 0, 1))); + double yaw = Math.toDegrees(v1.clone().setY(0).angle(new Vector(0, 0, -1))); double pitchInverted = pitch * -1; double yawInverted = yaw + 180;