diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 2f5a244..f871991 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,7 +1,7 @@ - + diff --git a/build.gradle b/build.gradle index faf35b0..3c70252 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { maven { url = "http://files.minecraftforge.net/maven" } - maven { url='https://dist.creeper.host/Sponge/maven' } + maven { url = 'https://repo.spongepowered.org/repository/maven-public/' } jcenter() mavenCentral() } diff --git a/gradle.properties b/gradle.properties index 5d9b119..46f682e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.jvmargs = -Xmx3G # No daemon org.gradle.daemon = false -modVersion = 1.1.1 +modVersion = 1.1.2-beta modId = bettercaves modGroup = com.yungnickyoung.minecraft.bettercaves modFileName = BetterCaves-Forge diff --git a/src/main/java/com/yungnickyoung/minecraft/bettercaves/world/carver/BetterCavesCarver.java b/src/main/java/com/yungnickyoung/minecraft/bettercaves/world/carver/BetterCavesCarver.java index b152c23..7440123 100644 --- a/src/main/java/com/yungnickyoung/minecraft/bettercaves/world/carver/BetterCavesCarver.java +++ b/src/main/java/com/yungnickyoung/minecraft/bettercaves/world/carver/BetterCavesCarver.java @@ -100,7 +100,7 @@ protected boolean func_222708_a(double p_222708_1_, double p_222708_3_, double p private boolean useDefaultCarvers(ServerWorld world, IChunk chunkIn, Function biomePos, Random rand, int seaLevel, int chunkXOffset, int chunkZOffset, int chunkX, int chunkZ, BitSet airCarvingMask, BitSet liquidCarvingMask) { // Grab the carvers we saved earlier for this biome - String biomeName = world.getNoiseBiome(chunkIn.getPos().x << 2, 0, chunkIn.getPos().z << 2).getRegistryName().toString(); + String biomeName = biomePos.apply(new BlockPos(chunkIn.getPos().x << 4, 0, chunkIn.getPos().z << 4)).getRegistryName().toString(); List>> defaultAirCarvers = BetterCaves.defaultBiomeAirCarvers.get(biomeName); List>> defaultLiquidCarvers = BetterCaves.defaultBiomeLiquidCarvers.get(biomeName);