Skip to content

Commit

Permalink
Fix encryption button code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aizistral committed Dec 6, 2024
1 parent d485881 commit 6cac5cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public EncryptionButton(int x, int y, int xSize, int ySize, int useSprites, OnPr
public boolean mouseClicked(double x, double y, int i) {
if (!this.active || !this.visible)
return false;

if (i == 1 && this.clicked(x, y)) {
if (i == 1 && this.isMouseOver(x, y)) {
this.playDownSound(Minecraft.getInstance().getSoundManager());
this.openEncryptionConfig();
return true;
Expand Down

0 comments on commit 6cac5cf

Please sign in to comment.