Fix #803
This commit is contained in:
parent
6bf0a3b4bb
commit
129895e559
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ public class TechRebornWorldGen implements IWorldGenerator {
|
||||||
boolean genTree = false;
|
boolean genTree = false;
|
||||||
List<OreConfig> list = new ArrayList<>();
|
List<OreConfig> list = new ArrayList<>();
|
||||||
Predicate<IBlockState> predicate = BlockMatcher.forBlock(Blocks.STONE);
|
Predicate<IBlockState> predicate = BlockMatcher.forBlock(Blocks.STONE);
|
||||||
if (world.provider.getDimension() == 0) {
|
if (world.provider.isSurfaceWorld()) {
|
||||||
list.addAll(getAllGenOresFromList(config.overworldOres));
|
list.addAll(getAllGenOresFromList(config.overworldOres));
|
||||||
genTree = true;
|
genTree = true;
|
||||||
} else if (world.provider.getDimension() == -1) {
|
} else if (world.provider.getDimension() == -1) {
|
||||||
|
|
Loading…
Reference in a new issue