Fix Chained Abilities not Saving

This commit is contained in:
Kam committed 2026-02-21 18:18:56 -05:00
1 parent 26da3ae2f9
commit b4334c2835
2 files changed
+10 -1

No files matched your search

@@ -96,7 +96,10 @@ public class GuiMenuTopButton extends GuiNpcButton {
@Override
public boolean mousePressed(Minecraft minecraft, int i, int j) {
boolean bo = !active && getVisible() && hover;
int h = this.height - (active ? 0 : 2);
boolean bo = !active && getVisible()
&& i >= xPosition && j >= yPosition
&& i < xPosition + getWidth() && j < yPosition + h;
if (bo && listener != null) {
listener.actionPerformed(this);
return false;