Skip to content

Commit

Permalink
short cut
Browse files Browse the repository at this point in the history
  • Loading branch information
GlodBlock committed Jun 9, 2024
1 parent f830ae6 commit d6c6e1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/appeng/client/gui/AEGuiHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public Object getIngredientUnderMouse(@Nonnull AEBaseGui guiContainer, int mouse
}
}

if (result != null) {
return result;
}

Slot slot = guiContainer.getSlotUnderMouse();
if (slot instanceof ISpecialSlotIngredient ss) {
return ss.getIngredient();
Expand Down

0 comments on commit d6c6e1b

Please sign in to comment.