aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2022-11-29 16:50:55 +0000
committerisXander <xandersmith2008@gmail.com>2022-11-29 16:50:55 +0000
commit2967e6bb7bc723e20a09ea8f9d81e380bfafe1a1 (patch)
tree319355f880eeeeb1c06e15680edb990a4d7803af /src
parentd6a5bf1d333586c267a5b156eca6b576529fce74 (diff)
downloadYetAnotherConfigLib-2967e6bb7bc723e20a09ea8f9d81e380bfafe1a1.tar.gz
YetAnotherConfigLib-2967e6bb7bc723e20a09ea8f9d81e380bfafe1a1.tar.bz2
YetAnotherConfigLib-2967e6bb7bc723e20a09ea8f9d81e380bfafe1a1.zip
pre3
Diffstat (limited to 'src')
-rw-r--r--src/client/java/dev/isxander/yacl/gui/AbstractWidget.java2
1 files changed, 1 insertions, 1 deletions
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));
}
}