diff --git a/build.gradle b/build.gradle index 8f0e375..006656c 100644 --- a/build.gradle +++ b/build.gradle @@ -25,10 +25,10 @@ configurations { dependencies { // This will make it work on most platforms. It automatically chooses the right dependencies at runtime. - extraLibs('dev.duti.acheong:cubiomes:1.21.4') { transitive = false } - extraLibs('dev.duti.acheong:cubiomes:1.21.4:linux64') { transitive = false } - extraLibs('dev.duti.acheong:cubiomes:1.21.4:osx') { transitive = false } - extraLibs('dev.duti.acheong:cubiomes:1.21.4:windows64') { transitive = false } + extraLibs('dev.duti.acheong:cubiomes:1.22.0') { transitive = false } + extraLibs('dev.duti.acheong:cubiomes:1.22.0:linux64') { transitive = false } + extraLibs('dev.duti.acheong:cubiomes:1.22.0:osx') { transitive = false } + extraLibs('dev.duti.acheong:cubiomes:1.22.0:windows64') { transitive = false } // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_version}:v2" diff --git a/src/main/java/anticope/rejects/commands/LocateCommand.java b/src/main/java/anticope/rejects/commands/LocateCommand.java index 89b6ba5..2533133 100644 --- a/src/main/java/anticope/rejects/commands/LocateCommand.java +++ b/src/main/java/anticope/rejects/commands/LocateCommand.java @@ -68,7 +68,7 @@ public void build(LiteralArgumentBuilder builder) { Pos pos = null; if (cubiomesVersion != null) { pos = Cubiomes.GetNearestStructure(feature, playerPos.getX(), playerPos.getZ(), seed, - Cubiomes.MCVersion.MC_1_20, 8); + cubiomesVersion); } else { BlockPos bpos = WorldGenUtils.locateFeature(feature, playerPos); pos = new Pos();