Skip to content

Commit

Permalink
4.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
KrLite committed May 20, 2023
1 parent 11d7149 commit 7848d15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion src/main/java/net/krlite/splasher/Splasher.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 7848d15

Please sign in to comment.