diff --git a/core/AEConfig.java b/core/AEConfig.java index 05eda037..56b5434f 100644 --- a/core/AEConfig.java +++ b/core/AEConfig.java @@ -130,7 +130,7 @@ public class AEConfig extends Configuration implements IConfigurableObject, ICon final private File myPath; public double meteoriteClusterChance = 0.1; - public double metoriteSpawnChance = 0.3; + public double meteoriteSpawnChance = 0.3; public int craftingCalculationTimePerTick = 5; @@ -236,7 +236,7 @@ public class AEConfig extends Configuration implements IConfigurableObject, ICon spawnChargedChance = (float) (1.0 - get( "worldGen", "spawnChargedChance", 1.0 - spawnChargedChance ).getDouble( 1.0 - spawnChargedChance )); minMeteoriteDistance = get( "worldGen", "minMeteoriteDistance", minMeteoriteDistance ).getInt( minMeteoriteDistance ); meteoriteClusterChance = get( "worldGen", "meteoriteClusterChance", meteoriteClusterChance ).getDouble( meteoriteClusterChance ); - metoriteSpawnChance = get( "worldGen", "metoriteSpawnChance", metoriteSpawnChance ).getDouble( metoriteSpawnChance ); + meteoriteSpawnChance = get( "worldGen", "meteoriteSpawnChance", meteoriteSpawnChance ).getDouble( meteoriteSpawnChance ); quartzOresPerCluster = get( "worldGen", "quartzOresPerCluster", quartzOresPerCluster ).getInt( quartzOresPerCluster ); quartzOresClusterAmount = get( "worldGen", "quartzOresClusterAmount", quartzOresClusterAmount ).getInt( quartzOresClusterAmount ); diff --git a/hooks/MeteoriteWorldGen.java b/hooks/MeteoriteWorldGen.java index 9a4d82df..71c066dd 100644 --- a/hooks/MeteoriteWorldGen.java +++ b/hooks/MeteoriteWorldGen.java @@ -41,7 +41,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator if ( WorldGenRegistry.instance.isWorldGenEnabled( WorldGenType.Meteorites, w ) ) { // add new metorites? - if ( r.nextFloat() < AEConfig.instance.metoriteSpawnChance ) + if ( r.nextFloat() < AEConfig.instance.meteoriteSpawnChance ) { int x = r.nextInt( 16 ) + (chunkX << 4); int z = r.nextInt( 16 ) + (chunkZ << 4);