Typo metoriteSpawnChance

This commit is contained in:
thatsIch 2014-09-20 23:33:44 +02:00
parent ad16153f07
commit 2faf07d440
2 changed files with 3 additions and 3 deletions

View file

@ -130,7 +130,7 @@ public class AEConfig extends Configuration implements IConfigurableObject, ICon
final private File myPath; final private File myPath;
public double meteoriteClusterChance = 0.1; public double meteoriteClusterChance = 0.1;
public double metoriteSpawnChance = 0.3; public double meteoriteSpawnChance = 0.3;
public int craftingCalculationTimePerTick = 5; 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 )); spawnChargedChance = (float) (1.0 - get( "worldGen", "spawnChargedChance", 1.0 - spawnChargedChance ).getDouble( 1.0 - spawnChargedChance ));
minMeteoriteDistance = get( "worldGen", "minMeteoriteDistance", minMeteoriteDistance ).getInt( minMeteoriteDistance ); minMeteoriteDistance = get( "worldGen", "minMeteoriteDistance", minMeteoriteDistance ).getInt( minMeteoriteDistance );
meteoriteClusterChance = get( "worldGen", "meteoriteClusterChance", meteoriteClusterChance ).getDouble( meteoriteClusterChance ); 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 ); quartzOresPerCluster = get( "worldGen", "quartzOresPerCluster", quartzOresPerCluster ).getInt( quartzOresPerCluster );
quartzOresClusterAmount = get( "worldGen", "quartzOresClusterAmount", quartzOresClusterAmount ).getInt( quartzOresClusterAmount ); quartzOresClusterAmount = get( "worldGen", "quartzOresClusterAmount", quartzOresClusterAmount ).getInt( quartzOresClusterAmount );

View file

@ -41,7 +41,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator
if ( WorldGenRegistry.instance.isWorldGenEnabled( WorldGenType.Meteorites, w ) ) if ( WorldGenRegistry.instance.isWorldGenEnabled( WorldGenType.Meteorites, w ) )
{ {
// add new metorites? // add new metorites?
if ( r.nextFloat() < AEConfig.instance.metoriteSpawnChance ) if ( r.nextFloat() < AEConfig.instance.meteoriteSpawnChance )
{ {
int x = r.nextInt( 16 ) + (chunkX << 4); int x = r.nextInt( 16 ) + (chunkX << 4);
int z = r.nextInt( 16 ) + (chunkZ << 4); int z = r.nextInt( 16 ) + (chunkZ << 4);