Bookmarks: save result that has output bigger than 64 (#308)

Co-authored-by: slprime <[email protected]>
This commit is contained in:
slprimeandslprime authored and GitHub committed 2022-10-13 20:49:43 +02:00
1 parent 7c2fb2df5f
commit 2302dac5c0
2 files changed
+27

No files matched your search

@@ -108,6 +108,7 @@ public abstract class ShortcutInputHandler {
if (gui instanceof GuiRecipe) {
ingredients = ((GuiRecipe<?>) gui).getFocusedRecipeIngredients();
handlerName = ((GuiRecipe<?>) gui).getHandlerName();
stack.stackSize = ((GuiRecipe<?>) gui).prepareFocusedRecipeResultStackSize(stack);
}
ItemPanels.bookmarkPanel.addOrRemoveItem(stack, handlerName, ingredients, saveIngredients, saveStackSize);