Add a config option to allow oregen in superflat worlds #1596

This commit is contained in:
Bernhard Bonigl committed 2015-05-04 21:30:40 +02:00
1 parent 7d3622beed
commit 2a72ab6c2f
2 files changed
+3 -1

No files matched your search

@@ -37,7 +37,7 @@ public class TBaseWorldGenerator implements IWorldGenerator
{
generateNether(random, chunkX * 16, chunkZ * 16, world);
}
else if (world.provider.terrainType != WorldType.FLAT)
else if (world.provider.terrainType != WorldType.FLAT || PHConstruct.genOresFlat)
{
generateSurface(random, chunkX * 16, chunkZ * 16, world);
if (world.provider.dimensionId == 0)