Remove FacingEnemy Math.toDegrees()
Dieser Commit ist enthalten in:
Ursprung
3ed914731f
Commit
28823ce382
@ -252,8 +252,8 @@ public class Config {
|
||||
World world = Bukkit.getWorlds().get(0);
|
||||
double yaw = Math.toDegrees(Math.atan2(TeamBluetoReddistanceZ, TeamBluetoReddistanceX));
|
||||
double pitch = Math.toDegrees(Math.atan2(Math.sqrt(TeamBluetoReddistanceZ * TeamBluetoReddistanceZ + TeamBluetoReddistanceX * TeamBluetoReddistanceX), TeamBluetoReddistanceY) + Math.PI);
|
||||
double yawInverted = Math.toDegrees(((yaw + 90 + 180) * Math.PI) / 180);
|
||||
double pitchInverted = Math.toDegrees(((90 - pitch) * Math.PI) / 180);
|
||||
double yawInverted = ((yaw + 90 + 180) * Math.PI) / 180;
|
||||
double pitchInverted = ((90 - pitch) * Math.PI) / 180;
|
||||
|
||||
TeamBlueSpawn = new Location(world,
|
||||
TeamBluePasteX + 0.5 + teamBlueSpawnOffsetX,
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren