Skip to content

Commit 9d19b60

Browse files
committed
didn't notice it until I added ModernMetals, but there is a logic bug in that an empty BiomeLocation returns false when it should probably return true
1 parent 00f6443 commit 9d19b60

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)