Skip to content

Commit fc6763b

Browse files
committed
Allow focus-linking with invisible recipe slots
1 parent f3e13fd commit fc6763b

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
@@ -98,8 +98,7 @@ private void addOutputSlotTooltipCallback(RecipeSlotBuilder slot) {
9898

9999
@Override
100100
public IIngredientAcceptor<?> addInvisibleIngredients(RecipeIngredientRole role) {
101-
// invisible slots are only used by IngredientSupplierBuilder, and are ignored here
102-
return IngredientAcceptorVoid.INSTANCE;
101+
return new RecipeSlotBuilder(ingredientManager, nextSlotIndex++, role);
103102
}
104103

105104
@Override

0 commit comments

Comments
 (0)