Fixes
This commit is contained in:
parent
b13da60a35
commit
4ddeb92680
2 changed files with 52 additions and 52 deletions
|
@ -48,7 +48,7 @@ public class EndStructures {
|
|||
}*/
|
||||
}
|
||||
|
||||
private static void addStructure(EndStructureFeature feature, Collection<Supplier<ConfiguredStructureFeature<?, ?>>> collection) {
|
||||
protected static void addStructure(EndStructureFeature feature, Collection<Supplier<ConfiguredStructureFeature<?, ?>>> collection) {
|
||||
collection.add(() -> { return feature.getFeatureConfigured(); });
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@ public class BiomeConfig extends Config {
|
|||
|
||||
private final static Path BIOME_CONFIG_DIR = ConfigWriter.MOD_CONFIG_DIR.toPath().resolve("biomes");
|
||||
|
||||
private EndBiome biome;
|
||||
//private EndBiome biome;
|
||||
private ConfigWriter configWriter;
|
||||
private File configFile;
|
||||
|
||||
public BiomeConfig(EndBiome biome) {
|
||||
this.biome = biome;
|
||||
//this.biome = biome;
|
||||
Identifier biomeId = biome.getID();
|
||||
String folder = ConfigWriter.scrubFileName(biomeId.toString());
|
||||
this.configFile = new File(BIOME_CONFIG_DIR.toFile(), folder + ".json");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue