diff --git a/src/main/java/com/iridium/iridiumskyblock/listeners/BlockFormListener.java b/src/main/java/com/iridium/iridiumskyblock/listeners/BlockFormListener.java index 7581249ec..a337077c3 100644 --- a/src/main/java/com/iridium/iridiumskyblock/listeners/BlockFormListener.java +++ b/src/main/java/com/iridium/iridiumskyblock/listeners/BlockFormListener.java @@ -39,7 +39,7 @@ public void onBlockForm(BlockFormEvent event) { Optional xMaterialOptional = randomMaterialList.nextElement(); if (!xMaterialOptional.isPresent()) return; - if((randomMaterialList == netherOreLevels.get(upgradeLevel)) && (IridiumSkyblock.getInstance().getConfiguration().netherOnlyGenerator) && (!(event.getNewState().getWorld().getEnvironment() == World.Environment.NETHER))) return; + if( isBasaltGenerator && IridiumSkyblock.getInstance().getConfiguration().netherOnlyGenerator && event.getNewState().getWorld().getEnvironment() != World.Environment.NETHER) return; Material material = xMaterialOptional.get().parseMaterial(); if (material == Material.COBBLESTONE && newMaterial == XMaterial.STONE) material = Material.STONE;