diff --git a/Library/src/main/java/mezz/jei/library/recipes/collect/RecipeMap.java b/Library/src/main/java/mezz/jei/library/recipes/collect/RecipeMap.java index 048196b86..72782f53f 100644 --- a/Library/src/main/java/mezz/jei/library/recipes/collect/RecipeMap.java +++ b/Library/src/main/java/mezz/jei/library/recipes/collect/RecipeMap.java @@ -26,7 +26,7 @@ */ public class RecipeMap { private final RecipeIngredientTable recipeTable = new RecipeIngredientTable(); - private final Multimap> ingredientUidToCategoryMap = Multimaps.newSetMultimap(new Object2ObjectOpenHashMap<>(), ObjectOpenHashSet::new); + private final Multimap> ingredientUidToCategoryMap = Multimaps.newSetMultimap(new Object2ObjectOpenHashMap<>(), () -> new ObjectOpenHashSet<>(2)); private final Multimap> categoryCatalystUidToRecipeCategoryMap = Multimaps.newSetMultimap(new Object2ObjectOpenHashMap<>(), ObjectOpenHashSet::new); private final Comparator> recipeTypeComparator; private final IIngredientManager ingredientManager;