SteamWar/FightSystem
Archiviert
13
1

Hide shields if entern disabled #230

Manuell gemergt
Lixfel hat 1 Commits von hideShields nach master 2021-01-15 16:17:00 +01:00 zusammengeführt
Nur Änderungen aus Commit 20445b5aaa werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -55,14 +55,15 @@ public class ITechHider {
private static final int redMaxZ; private static final int redMaxZ;
static{ static{
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX); int areaExtension = Config.EnterStages.isEmpty() ? Config.BorderFromSchematic : 0;
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1; blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX) - areaExtension;
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ); blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1 + areaExtension;
blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ) + 1; blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ) - areaExtension;
redMinX = ITechHider.posToChunk(Config.TeamRedCornerX); blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX) + 1; redMinX = ITechHider.posToChunk(Config.TeamRedCornerX) - areaExtension;
redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ); redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX) + 1 + areaExtension;
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ) + 1; redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ) - areaExtension;
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
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);