Skip to content

Commit a1bced3

Browse files
committed
fix compile error
1 parent f200d55 commit a1bced3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ldtteam/blockui/controls/Button.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void setHandler(final ButtonHandler h)
8585
@Override
8686
public boolean handleClick(final double mx, final double my)
8787
{
88-
mc.getSoundManager().play(SimpleSoundInstance.forUI(SoundEvents.UI_BUTTON_CLICK.value()));
88+
mc.getSoundManager().play(SimpleSoundInstance.forUI(SoundEvents.UI_BUTTON_CLICK.value(), 1.0f));
8989

9090
ButtonHandler delegatedHandler = handler;
9191

0 commit comments

Comments
 (0)