diff --git a/src/main/java/com/aizistral/nochatreports/common/gui/EncryptionButton.java b/src/main/java/com/aizistral/nochatreports/common/gui/EncryptionButton.java index 2753ab6a..7f05b85e 100644 --- a/src/main/java/com/aizistral/nochatreports/common/gui/EncryptionButton.java +++ b/src/main/java/com/aizistral/nochatreports/common/gui/EncryptionButton.java @@ -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;