Add vanilla cave support back

This commit is contained in:
Daniel Mills 2020-12-13 09:40:20 -05:00
parent 9d18a1297b
commit ab64a8f8e2

View File

@ -656,8 +656,16 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
} }
public boolean isVanillaCaves() { public boolean isVanillaCaves() {
try
{
return getComposite().getDefaultEngine().getDimension().isVanillaStructures();
}
catch(Throwable e)
{
return false; return false;
} }
}
public KList<IrisBiome> getAllBiomes(String worldName) { public KList<IrisBiome> getAllBiomes(String worldName) {
if(getComposite() != null) if(getComposite() != null)