Compare commits

...

2 Commits

Author SHA1 Message Date
Timo Ley 3db4a140e3 fix: generate Silverwood in classic worlds
continuous-integration/drone/push Build is passing Details
2023-03-24 17:08:54 +01:00
Timo Ley e5587ebd31 chore: bump version 2023-03-15 16:40:31 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ apply from: './gradle/scripts/mixins.gradle'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
version = "1.8.8"
version = "1.8.9"
group= "dev.tilera"
archivesBaseName = "auracore"

View File

@ -35,7 +35,7 @@ public abstract class MixinThaumcraftWorldGenerator {
int z = chunkZ * 16 + random.nextInt(16);
int y = world.getHeightValue(x, z);
BiomeGenBase bio = world.getBiomeGenForCoords(x, z);
if (bio.equals(ThaumcraftWorldGenerator.biomeMagicalForest) || bio.equals(ThaumcraftWorldGenerator.biomeTaint) || !BiomeDictionary.isBiomeOfType(bio, Type.MAGICAL) && bio.biomeID != BiomeGenBase.forestHills.biomeID && bio.biomeID != BiomeGenBase.birchForestHills.biomeID) {
if (bio.equals(ThaumcraftWorldGenerator.biomeMagicalForest) || bio.equals(ThaumcraftWorldGenerator.biomeTaint) || !BiomeDictionary.isBiomeOfType(bio, Type.MAGICAL) && BiomeDictionary.isBiomeOfType(bio, Type.FOREST)) {
return false;
} else if (dev.tilera.auracore.Config.replaceSilverwood) {
boolean t = (new WorldGenSilverwoodTreesOld(false)).generate(world, random, x, y, z);