diff --git a/build.gradle b/build.gradle index 828b68f..22c785b 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ dependencies { implementation include("com.github.KrLite:Pierced:${project.pierced_version}") - //compileOnly "maven.modrinth:bounced:${project.bounced_version}" + compileOnly "maven.modrinth:bounced:${project.minecraft_version}-${project.bounced_version}" } processResources { diff --git a/gradle.properties b/gradle.properties index 6acc007..28ffee8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,11 +6,11 @@ minecraft_version = 1.18 yarn_mappings = 1.18+build.1 loader_version = 0.14.19 -mod_version = 4.0.4-beta +mod_version = 4.0.4 maven_group = net.krlite archives_base_name = splasher # Dependencies fabric_version = 0.46.0+1.18 pierced_version = v1.2 -bounced_version = v2.1.1 +bounced_version = v2.1.2 diff --git a/src/main/java/net/krlite/splasher/Splasher.java b/src/main/java/net/krlite/splasher/Splasher.java index 17c3906..728695a 100644 --- a/src/main/java/net/krlite/splasher/Splasher.java +++ b/src/main/java/net/krlite/splasher/Splasher.java @@ -4,6 +4,7 @@ import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents; import net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents; import net.fabricmc.loader.api.FabricLoader; +import net.krlite.bounced.Bounced; import net.krlite.splasher.config.SplasherConfig; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.TitleScreen; @@ -83,7 +84,7 @@ public void onInitialize() { .register((currentScreen, mouseX, mouseY, button) -> { if (isBouncedLoaded) { // Linkage with Bounced - //mouseY -= Bounced.primaryPos(); + mouseY -= Bounced.primaryPos(); } if (isMouseHovering(scaledWidth, mouseX, mouseY) && CONFIG.randomRate.onClick()) {