From 521dd682771b35a70654672d30e533a574f7ee4a Mon Sep 17 00:00:00 2001 From: ACGaming <4818419+ACGaming@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:14:09 +0100 Subject: [PATCH] Add missing apple tree config values --- src/main/java/com/progwml6/natura/common/config/Config.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/progwml6/natura/common/config/Config.java b/src/main/java/com/progwml6/natura/common/config/Config.java index 328e0c2e..50075bdb 100644 --- a/src/main/java/com/progwml6/natura/common/config/Config.java +++ b/src/main/java/com/progwml6/natura/common/config/Config.java @@ -108,6 +108,7 @@ public static boolean syncConfig() generateEucalyptus = configFile.get(ENABLE_DISABLE, "Generate Small Eucalyptus Trees", generateEucalyptus).getBoolean(generateEucalyptus); generateHopseed = configFile.get(ENABLE_DISABLE, "Generate Hopseed Trees", generateHopseed).getBoolean(generateHopseed); generateSakura = configFile.get(ENABLE_DISABLE, "Generate Sakura Trees", generateSakura).getBoolean(generateSakura); + generateApple = configFile.get(ENABLE_DISABLE, "Generate Apple Trees", generateApple).getBoolean(generateApple); generateSaguaro = configFile.get(ENABLE_DISABLE, "Generate Saguaro Cactus", generateSaguaro).getBoolean(generateSaguaro); @@ -198,6 +199,9 @@ public static boolean syncConfig() sakuraSpawnRarity = configFile.get(WORLDGEN, "Sakura Tree Spawn Rarity", sakuraSpawnRarity).getInt(sakuraSpawnRarity); sakuraSpawnRange = configFile.get(WORLDGEN, "Sakura Tree Spawn Range", sakuraSpawnRange).getInt(sakuraSpawnRange); + appleSpawnRarity = configFile.get(WORLDGEN, "Apple Tree Spawn Rarity", appleSpawnRarity).getInt(appleSpawnRarity); + appleSpawnRange = configFile.get(WORLDGEN, "Apple Tree Spawn Range", appleSpawnRange).getInt(appleSpawnRange); + bloodwoodSpawnRarity = configFile.get(WORLDGEN, "Bloodwood Tree Spawn Rarity", bloodwoodSpawnRarity).getInt(bloodwoodSpawnRarity); darkwoodSpawnRarity = configFile.get(WORLDGEN, "Darkwood Tree Spawn Rarity", darkwoodSpawnRarity).getInt(darkwoodSpawnRarity); fusewoodSpawnRarity = configFile.get(WORLDGEN, "Fusewood Tree Spawn Rarity", fusewoodSpawnRarity).getInt(fusewoodSpawnRarity);