Position fixes
Dieser Commit ist enthalten in:
Ursprung
c06a6803cc
Commit
19fcccef82
@ -99,15 +99,15 @@ public class FightSystem extends JavaPlugin {
|
|||||||
//Rotate team1corner to edge (min. x, min. y, min. z)
|
//Rotate team1corner to edge (min. x, min. y, min. z)
|
||||||
if(schemsizeX < 0){
|
if(schemsizeX < 0){
|
||||||
schemsizeX = -schemsizeX;
|
schemsizeX = -schemsizeX;
|
||||||
team1cornerX -= 2*schemsizeX;
|
team1cornerX -= schemsizeX;
|
||||||
}
|
}
|
||||||
if(schemsizeY < 0){
|
if(schemsizeY < 0){
|
||||||
schemsizeY = -schemsizeY;
|
schemsizeY = -schemsizeY;
|
||||||
team1cornerY -= 2*schemsizeY;
|
team1cornerY -= schemsizeY;
|
||||||
}
|
}
|
||||||
if(schemsizeZ < 0){
|
if(schemsizeZ < 0){
|
||||||
schemsizeZ = -schemsizeZ;
|
schemsizeZ = -schemsizeZ;
|
||||||
team1cornerZ -= 2*schemsizeZ;
|
team1cornerZ -= schemsizeZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Compute various positions
|
//Compute various positions
|
||||||
@ -125,7 +125,7 @@ public class FightSystem extends JavaPlugin {
|
|||||||
|
|
||||||
|
|
||||||
Team1SpawnLoc = new Location(world, Team1centerX, Team1centerY + schemsizeY, Team1centerZ);
|
Team1SpawnLoc = new Location(world, Team1centerX, Team1centerY + schemsizeY, Team1centerZ);
|
||||||
Team2SpawnLoc = new Location(world, Team1centerX, Team1centerY + schemsizeY, Team1centerZ);
|
Team2SpawnLoc = new Location(world, Team2centerX, Team2centerY + schemsizeY, Team2centerZ);
|
||||||
SpecSpawnLoc = new Location(world, Team1centerX + team1toTeam2distanceX/2,
|
SpecSpawnLoc = new Location(world, Team1centerX + team1toTeam2distanceX/2,
|
||||||
Team1centerY + team1toTeam2distanceY/2 + schemsizeY/2,
|
Team1centerY + team1toTeam2distanceY/2 + schemsizeY/2,
|
||||||
Team1centerZ + team1toTeam2distanceZ/2);
|
Team1centerZ + team1toTeam2distanceZ/2);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren