fix stronghold gen with vanilla.structures

This commit is contained in:
dfsek
2021-05-27 19:10:13 -07:00
parent cf0d5cd99c
commit 4f3f555aa0
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public class FabricChunkGeneratorWrapper extends ChunkGenerator implements Gener
}
public FabricChunkGeneratorWrapper(TerraBiomeSource biomeSource, long seed, ConfigPack configPack) {
super(biomeSource, new StructuresConfig(false));
super(biomeSource, new StructuresConfig(configPack.getTemplate().vanillaStructures()));
this.pack = configPack;
this.delegate = new DefaultChunkGenerator3D(pack, TerraFabricPlugin.getInstance());

View File

@@ -69,7 +69,7 @@ public class ForgeChunkGeneratorWrapper extends ChunkGenerator implements Genera
private DimensionType dimensionType;
public ForgeChunkGeneratorWrapper(TerraBiomeSource biomeSource, long seed, ConfigPack configPack) {
super(biomeSource, new DimensionStructuresSettings(false));
super(biomeSource, new DimensionStructuresSettings(configPack.getTemplate().vanillaStructures()));
this.pack = configPack;
this.delegate = new DefaultChunkGenerator3D(pack, TerraForgePlugin.getInstance());