aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gradle.properties2
-rw-r--r--src/client/java/dev/isxander/yacl/gui/AbstractWidget.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/gradle.properties b/gradle.properties
index e39781b..51fa4cb 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Xmx3G
-minecraftVersion=1.19.3-pre2
+minecraftVersion=1.19.3-pre3
fabricLoaderVersion=0.14.10
modId=yet-another-config-lib
diff --git a/src/client/java/dev/isxander/yacl/gui/AbstractWidget.java b/src/client/java/dev/isxander/yacl/gui/AbstractWidget.java
index ffb4dec..c4cfe08 100644
--- a/src/client/java/dev/isxander/yacl/gui/AbstractWidget.java
+++ b/src/client/java/dev/isxander/yacl/gui/AbstractWidget.java
@@ -103,6 +103,6 @@ public abstract class AbstractWidget implements Element, Drawable, Selectable {
}
public void playDownSound() {
- MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK, 1.0F));
+ MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK.value(), 1.0F));
}
}