Add Pitch/Yaw Vector Fix
Dieser Commit ist enthalten in:
Ursprung
c1d62e5e37
Commit
99fdf1abdb
@ -251,10 +251,6 @@ public class Config {
|
||||
TeamRedPasteZ = TeamBluePasteZ + TeamBluetoReddistanceZ;
|
||||
|
||||
World world = Bukkit.getWorlds().get(0);
|
||||
//double yaw = Math.toDegrees(Math.atan2(TeamBluetoReddistanceZ, TeamBluetoReddistanceX) + Math.PI / 2);
|
||||
//double pitch = Math.toDegrees(Math.atan2(Math.sqrt(TeamBluetoReddistanceZ * TeamBluetoReddistanceZ + TeamBluetoReddistanceX * TeamBluetoReddistanceX), TeamBluetoReddistanceY));
|
||||
//double yawInverted = yaw + 180;
|
||||
//double pitchInverted = ((90 - pitch) * 180) / 180;
|
||||
|
||||
TeamBlueSpawn = new Location(world,
|
||||
TeamBluePasteX + 0.5 + teamBlueSpawnOffsetX,
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren