mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
check against isSurfaceWorld() instead of dimensionId == 0 (#145)
This commit is contained in:
1 parent
d030556751
commit
4eab5a89ba
1 file changed
+2
-2
@@ -39,10 +39,10 @@ public class TBaseWorldGenerator implements IWorldGenerator {
|
||||
generateNether(random, chunkX * 16, chunkZ * 16, world);
|
||||
} else if (world.provider.terrainType != WorldType.FLAT || PHConstruct.genOresFlat) {
|
||||
generateSurface(random, chunkX * 16, chunkZ * 16, world);
|
||||
if (world.provider.dimensionId == 0) generateOreBushes(random, chunkX * 16, chunkZ * 16, world);
|
||||
if (world.provider.isSurfaceWorld()) generateOreBushes(random, chunkX * 16, chunkZ * 16, world);
|
||||
}
|
||||
|
||||
if (PHConstruct.superfunWorld && world.provider.dimensionId == 0) {
|
||||
if (PHConstruct.superfunWorld && world.provider.isSurfaceWorld()) {
|
||||
superfunGenerate(random, chunkX * 16, chunkZ * 16, world);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user