Skip to content

Commit 53e6e0b

Browse files
committed
fix: hashcode override
1 parent 271b0f3 commit 53e6e0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/aetherteam/nitrogen/event/listeners/TooltipListeners.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ public boolean equals(Object obj) {
4949
}
5050
return false;
5151
}
52+
53+
@Override
54+
public int hashCode() {
55+
return this.supplier().get().hashCode();
56+
}
5257
}
5358

5459
@FunctionalInterface

0 commit comments

Comments
 (0)