Merge pull request 'Hide shields if entern disabled' (#230) from hideShields into master
Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
17132bfb50
@ -55,14 +55,15 @@ public class ITechHider {
|
||||
private static final int redMaxZ;
|
||||
|
||||
static{
|
||||
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX);
|
||||
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1;
|
||||
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ);
|
||||
blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ) + 1;
|
||||
redMinX = ITechHider.posToChunk(Config.TeamRedCornerX);
|
||||
redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX) + 1;
|
||||
redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ);
|
||||
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ) + 1;
|
||||
int areaExtension = Config.EnterStages.isEmpty() ? Config.BorderFromSchematic : 0;
|
||||
blueMinX = ITechHider.posToChunk(Config.TeamBlueCornerX) - areaExtension;
|
||||
blueMaxX = ITechHider.posToChunk(Config.TeamBlueCornerX + Config.SchemsizeX) + 1 + areaExtension;
|
||||
blueMinZ = ITechHider.posToChunk(Config.TeamBlueCornerZ) - areaExtension;
|
||||
blueMaxZ = ITechHider.posToChunk(Config.TeamBlueCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
|
||||
redMinX = ITechHider.posToChunk(Config.TeamRedCornerX) - areaExtension;
|
||||
redMaxX = ITechHider.posToChunk(Config.TeamRedCornerX + Config.SchemsizeX) + 1 + areaExtension;
|
||||
redMinZ = ITechHider.posToChunk(Config.TeamRedCornerZ) - areaExtension;
|
||||
redMaxZ = ITechHider.posToChunk(Config.TeamRedCornerZ + Config.SchemsizeZ) + 1 + areaExtension;
|
||||
arenaMinX = ITechHider.posToChunk(Config.ArenaMinX);
|
||||
arenaMaxX = ITechHider.posToChunk(Config.ArenaMaxX) + 1;
|
||||
arenaMinZ = ITechHider.posToChunk(Config.ArenaMinZ);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren