mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 01:02:19 +00:00
Fix Chained Abilities not Saving
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user