Skip to content

Commit 3efb0e2

Browse files
committed
Allow focus-linking with invisible recipe slots
1 parent 3e87d65 commit 3efb0e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Library/src/main/java/mezz/jei/library/gui/recipes/layout/builder/RecipeLayoutBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ private void addOutputSlotTooltipCallback(RecipeSlotBuilder slot) {
9696

9797
@Override
9898
public IIngredientAcceptor<?> addInvisibleIngredients(RecipeIngredientRole role) {
99-
// invisible slots are only used by IngredientSupplierBuilder, and are ignored here
100-
return IngredientAcceptorVoid.INSTANCE;
99+
return new RecipeSlotBuilder(ingredientManager, nextSlotIndex++, role);
101100
}
102101

103102
@Override

0 commit comments

Comments
 (0)