Skip to content

Commit

Permalink
Merge remote-tracking branch 'slprime/collapsibleitems' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Jul 16, 2024
2 parents 3495af9 + 562861d commit e8991e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/codechicken/nei/ItemPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,10 @@ public List<String> handleItemTooltip(GuiContainer gui, ItemStack itemstack, int
List<String> currenttip) {
final ItemPanelGrid panelGrid = ((ItemPanelGrid) this.grid);

if (!panelGrid.forceExpand) {
if (!panelGrid.forceExpand && !NEIClientConfig.isHidden() && !currenttip.isEmpty()) {
final ItemPanelSlot hoverSlot = getSlotMouseOver(mousex, mousey);

if (hoverSlot != null) {

final MaskMetadata metadata = panelGrid.maskMetadata.get(hoverSlot.slotIndex);

if (metadata != null) {
Expand Down

0 comments on commit e8991e1

Please sign in to comment.