Skip to content

Commit 763f8a1

Browse files
committed
fix: πŸ› Fixed hidden durability and NBT toggles receiving input
1 parent 378b532 commit 763f8a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Žgradle.propertiesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ loader_version_range=[4,)
1515
mod_id=sophisticatedcore
1616
mod_name=Sophisticated Core
1717
mod_license=All Rights Reserved
18-
mod_version=1.4.76
18+
mod_version=1.4.77
1919
mod_group_id=net.p3pp3rf1y
2020
mod_authors=P3pp3rF1y
2121
mod_description=A library / shared functionality mod for Sophisticated Storage and Backpacks

β€Žsrc/main/java/net/p3pp3rf1y/sophisticatedcore/client/gui/controls/WidgetBase.javaβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected void updateDimensions(int width, int height) {
7373

7474
@Override
7575
public boolean isMouseOver(double mouseX, double mouseY) {
76-
return mouseX >= x && mouseX < x + getWidth() && mouseY >= y && mouseY < y + getHeight();
76+
return visible && mouseX >= x && mouseX < x + getWidth() && mouseY >= y && mouseY < y + getHeight();
7777
}
7878

7979
public int getX() {

0 commit comments

Comments
Β (0)