This commit is contained in:
modmuss50 2016-11-26 19:05:52 +00:00
parent 6bf0a3b4bb
commit 129895e559
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -202,7 +202,7 @@ public class TechRebornWorldGen implements IWorldGenerator {
boolean genTree = false;
List<OreConfig> list = new ArrayList<>();
Predicate<IBlockState> predicate = BlockMatcher.forBlock(Blocks.STONE);
if (world.provider.getDimension() == 0) {
if (world.provider.isSurfaceWorld()) {
list.addAll(getAllGenOresFromList(config.overworldOres));
genTree = true;
} else if (world.provider.getDimension() == -1) {