Team-RTG / Realistic-Terrain-Generation

The Realistic Terrain Generation mod for Minecraft.
GNU General Public License v3.0
245 stars 118 forks source link

Biome config load order issue #1363

Closed srs-bsns closed 8 months ago

srs-bsns commented 3 years ago

Biome configs need to be initialised and loaded before use in surface classes:

https://github.com/Team-RTG/Realistic-Terrain-Generation/blob/1.12.2-dev/src/main/java/rtg/api/world/biome/RealisticBiomeBase.java#L62

        this.config = new BiomeConfig(getConfigFile());
        initConfig();
        getConfig().loadConfig();
        this.terrain = initTerrain();
        this.surface = initSurface();
srs-bsns commented 8 months ago

closed by: 2d042690ce19a6affe58496f487345a7e86db003