Fixed Bug: #0907 - World Gen Broken

This commit is contained in:
AlgorithmX2
2014-08-15 20:26:16 -05:00
parent fd162625ee
commit 497b9c2e51
+7
View File
@@ -37,6 +37,13 @@ final public class QuartzWorldGen implements IWorldGenerator
{
int sealevel = w.provider.getAverageGroundLevel() + 1;
if ( sealevel < 20 )
{
int x = (chunkX << 4) + 8;
int z = (chunkZ << 4) + 8;
sealevel = w.getHeightValue( x, z );
}
if ( oreNormal == null || oreCharged == null )
return;