Fix Collapsed Recipes in Bookmarks (#905)

This commit is contained in:
slprime authored and GitHub committed 2026-03-31 20:47:23 +03:00
1 parent 10a3109714
commit bcc25d4369
10 files changed
+59 -48

No files matched your search

@@ -318,7 +318,7 @@ public class BookmarkGridGenerator {
return group.crafting.calculatedItems.get(itemIndex);
} else {
BookmarkChainItem item = BookmarkChainItem.of(this.grid.getBookmarkItem(itemIndex));
item.setRealAmount(item.getShiftAmount());
item.setRealMultiplier(item.getItem().getMultiplierFromAmount(item.getShiftAmount()));
return item;
}
}
@@ -331,7 +331,7 @@ public class BookmarkGridGenerator {
return new BookmarksGridSlot(
slotIndex,
itemIndex,
chainItem.getRealAmount(),
chainItem.getRealMultiplier(),
0,
0,
chainItem.getItem(),
@@ -341,9 +341,9 @@ public class BookmarkGridGenerator {
return new BookmarksGridSlot(
slotIndex,
itemIndex,
chainItem.getRealAmount(),
chainItem.getRealMultiplier(),
chainItem.getShiftAmount(),
chainItem.getCalculatedAmount(),
chainItem.getCalculatedMultiplier(),
chainItem.getItem(),
chainItem.calculatedType,
group);