Skip to content

Commit

Permalink
Add missing apple tree config values
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Dec 7, 2024
1 parent b4fc833 commit 521dd68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/progwml6/natura/common/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 521dd68

Please sign in to comment.