Added quartzOresClusterAmount and fixed spaces in Metorite Gen Config Names.

This commit is contained in:
AlgorithmX2
2014-08-15 11:04:55 -05:00
parent 809495c573
commit 189c86581a
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ final public class QuartzWorldGen implements IWorldGenerator
if ( oreNormal == null || oreCharged == null )
return;
double oreDepthMultiplier = 15 * sealevel / 64;
double oreDepthMultiplier = AEConfig.instance.quartzOresClusterAmount * sealevel / 64;
int scale = (int) Math.round( r.nextGaussian() * Math.sqrt( oreDepthMultiplier ) + oreDepthMultiplier );
for (int x = 0; x < (r.nextBoolean() ? scale * 2 : scale) / 2; ++x)