Hotfix techhider
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
aa706acc76
Commit
5688e4fb65
@ -55,15 +55,15 @@ public class ITechHider {
|
|||||||
private static final int redMaxZ;
|
private static final int redMaxZ;
|
||||||
|
|
||||||
static{
|
static{
|
||||||
int areaExtension = Config.EnterStages.isEmpty() ? (int) Math.ceil(Config.BorderFromSchematic / 16.0f) : 0;
|
int areaExtension = Config.EnterStages.isEmpty() ? Config.BorderFromSchematic : 0;
|
||||||
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX) - areaExtension;
|
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX - areaExtension);
|
||||||
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1 + areaExtension;
|
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX + areaExtension) + 1;
|
||||||
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ) - areaExtension;
|
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ - areaExtension);
|
||||||
blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
|
blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ + areaExtension) + 1;
|
||||||
redMinX = ITechHider.posToChunk(Config.TeamRedCornerX) - areaExtension;
|
redMinX = ITechHider.posToChunk(Config.TeamRedCornerX - areaExtension);
|
||||||
redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX) + 1 + areaExtension;
|
redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX + areaExtension) + 1;
|
||||||
redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ) - areaExtension;
|
redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ - areaExtension);
|
||||||
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
|
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ + areaExtension) + 1;
|
||||||
arenaMinX = ITechHider.posToChunk(Config.ArenaMinX);
|
arenaMinX = ITechHider.posToChunk(Config.ArenaMinX);
|
||||||
arenaMaxX = ITechHider.posToChunk(Config.ArenaMaxX) + 1;
|
arenaMaxX = ITechHider.posToChunk(Config.ArenaMaxX) + 1;
|
||||||
arenaMinZ = ITechHider.posToChunk(Config.ArenaMinZ);
|
arenaMinZ = ITechHider.posToChunk(Config.ArenaMinZ);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren