Skip to content

Commit

Permalink
Allow focus-linking with invisible recipe slots
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Oct 8, 2024
1 parent f3e13fd commit fc6763b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ private void addOutputSlotTooltipCallback(RecipeSlotBuilder slot) {

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

@Override
Expand Down

0 comments on commit fc6763b

Please sign in to comment.