Fixed ATG Integration crash.

This commit is contained in:
Amnet 2013-11-05 03:13:33 +01:00
parent f1f2566347
commit 1f43271faf
1 changed files with 12 additions and 14 deletions

View File

@ -316,24 +316,22 @@ public class ATGIntegration
// Steppe
// ########################
// tier 0
// tier 1
// tier 2
if (cragGen) ATGBiomes.addBiome(land, "Steppe", Biomes.crag.get(), tiers[2]);
// tier 3
if (cragGen) ATGBiomes.addBiome(land, "Steppe", Biomes.crag.get(), tiers[2]);
// tier 4
if (mountainGen) ATGBiomes.addBiome(land, "Steppe", Biomes.mountain.get(), tiers[4]);
// tier 5
if (mountainGen) ATGBiomes.addBiome(land, "Steppe", Biomes.mountain.get(), tiers[4]);
// tier 6
if (deadForestGen) ATGBiomes.addBiome(land, "Steppe", Biomes.deadForest.get(), tiers[5]);
// tier 6
if (deadlandsGen) ATGBiomes.addBiome(land, "Steppe", Biomes.deadlands.get(), tiers[6]);
if (wastelandGen) ATGBiomes.addBiome(land, "Steppe", Biomes.wasteland.get(), tiers[6]);
if (deadlandsGen) ATGBiomes.addBiome(land, "Steppe", Biomes.deadlands.get(), tiers[5]);
if (wastelandGen) ATGBiomes.addBiome(land, "Steppe", Biomes.wasteland.get(), tiers[5]);
}
private static void addSavannahBiomesGroup()
@ -425,29 +423,29 @@ public class ATGIntegration
// Swampland
// ########################
// tier 0
// tier 1
if (wetlandGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.wetland.get(), tiers[0]);
// tier 1
// tier 2
if (marshGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.marsh.get(), tiers[1]);
if (lushSwampGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.lushSwamp.get(), tiers[1]);
if (bayouGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.bayou.get(), tiers[1]);
// tier 2
// tier 3
if (swamplandGen) ATGBiomes.replaceBiome(coast, "Swampland", BiomeGenBase.swampland, Biomes.swamplandNew.get(), tiers[2]);
if (fenGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.fen.get(), tiers[2]);
if (bogGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.bog.get(), tiers[2]);
if (mangroveGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.mangrove.get(), tiers[2]);
// tier 3
// tier 4
if (moorGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.moor.get(), tiers[3]);
if (deadSwampGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.deadSwamp.get(), tiers[3]);
// tier 4
// tier 5
if (quagmireGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.quagmire.get(), tiers[4]);
if (sludgepitGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.sludgepit.get(), tiers[4]);
// tier 5
// tier 6
if (ominousWoodsGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.ominousWoods.get(), tiers[5]);
if (silkgladesGen) ATGBiomes.addBiome(coast, "Swampland", Biomes.silkglades.get(), tiers[5]);