Add Favorite Hotkey (#681)

This commit is contained in:
slprime authored and GitHub committed 2025-08-22 19:12:42 +07:00
1 parent 4e11a45852
commit 453ba6667f
5 files changed
+42 -4

No files matched your search

@@ -30,7 +30,7 @@ public class RecipeHandlerRef {
public static RecipeHandlerRef of(RecipeId recipeId) {
if (recipeId.getResult() != null && !recipeId.getIngredients().isEmpty()) {
if (recipeId != null && recipeId.getResult() != null && !recipeId.getIngredients().isEmpty()) {
return recipeRefCache.computeIfAbsent(recipeId, ri -> {
final List<ICraftingHandler> handlers = GuiCraftingRecipe
.getCraftingHandlers("recipeId", recipeId.getResult(), recipeId);