Skip to content

Commit 8f4faa8

Browse files
authored
Merge pull request #51 from dshadowwolf/v3
didn't notice it until I added ModernMetals, but there is a logic bug…
2 parents 830b853 + 9d19b60 commit 8f4faa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/mcmoddev/orespawn/worldgen/OreSpawnWorldGen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void generate(Random random, int chunkX, int chunkZ, World world, IChunkG
7171

7272
for( SpawnBuilder sE : entries ) {
7373
Biome biome = world.getBiomeProvider().getBiome(new BlockPos(chunkX*16, 64,chunkZ*16));
74-
if( sE.getBiomes().matches(biome)) {
74+
if( sE.getBiomes().matches(biome) || sE.getBiomes().getBiomes().size() == 0 ) {
7575
IFeature currentFeatureGen = sE.getFeatureGen().getGenerator();
7676
IBlockState replacement = sE.getReplacementBlocks().get(0);
7777
if( replacement == null ) {

0 commit comments

Comments
 (0)