Support spigot

This commit is contained in:
Daniel Mills
2020-11-22 11:41:43 -05:00
parent 03f535e85e
commit 34040abc8f
8 changed files with 42 additions and 46 deletions

View File

@@ -320,7 +320,15 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
@Override
public boolean shouldGenerateStructures() {
return false;
try
{
return getComposite().getDefaultEngine().getDimension().isVanillaStructures();
}
catch(Throwable e)
{
return false;
}
}
public static EngineCompositeGenerator newStudioWorld(String dimension) {