Added metoriteSpawnChance to configs.

This commit is contained in:
AlgorithmX2
2014-08-13 19:36:37 -05:00
parent 8d9054e39a
commit 3891ecbd67
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator
if ( WorldGenRegistry.instance.isWorldGenEnabled( WorldGenType.Metorites, w ) )
{
// add new metorites?
if ( r.nextFloat() > 0.7 )
if ( r.nextFloat() < AEConfig.instance.metoriteSpawnChance )
{
int x = r.nextInt( 16 ) + (chunkX << 4);
int z = r.nextInt( 16 ) + (chunkZ << 4);