mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-25 22:44:36 +00:00
Extract inventory and missing ingredient helpers (#1164)
This commit is contained in:
1 parent
cdc8e22aec
commit
bdadcc37a6
8 files changed
+75
-67
No files matched your search
@@ -271,7 +271,7 @@ public class RecipeItemsTooltipLineHandler extends CompositeTooltipLineHandler {
|
||||
}
|
||||
|
||||
if (screen instanceof GuiContainer container) {
|
||||
return AutoCraftingManager.getInventoryItems(container);
|
||||
return ItemStackAmount.of(container);
|
||||
}
|
||||
|
||||
return new ItemStackAmount();
|
||||
|
||||
Reference in new issue
Block a user