Skip to content

Commit db11636

Browse files
committed
uncomment a script invoke v2
(i literally forgot to do this lmao)
1 parent 4bf69dc commit db11636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/techstreet/dfscript/script/menu/ScriptMenuButton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public String getIdentifier() {
2525
public boolean mouseClicked(double x, double y, int button) {
2626
if (getBounds().contains(x,y)) {
2727
DFScript.MC.getSoundManager().play(PositionedSoundInstance.ambient(SoundEvents.UI_BUTTON_CLICK.value(), 1f,1f));
28-
//script.invoke(new ScriptMenuClickButtonEvent(identifier));
28+
script.invoke(new ScriptMenuClickButtonEvent(identifier));
2929
return true;
3030
}
3131
return false;

0 commit comments

Comments
 (0)