Fix Bookmarks Shadow Items (#724)

This commit is contained in:
slprime authored and GitHub committed 2025-09-18 19:07:51 +02:00
1 parent e96e4dfdde
commit bb89384493
1 file changed
+1 -1
@@ -117,7 +117,7 @@ public class BookmarkGridGenerator {
this.itemToSlot.put(collapsedItemIndex, absoluteSlotIndex);
this.caclulatedItems.put(collapsedItemIndex, getItem(group, collapsedItemIndex));
if (!(shadows = getShadows(group, item.recipeId)).isEmpty()) {
if (item.recipeId != null && !(shadows = getShadows(group, item.recipeId)).isEmpty()) {
borderGrid.put(absoluteSlotIndex, "recipe:" + shadows.get(0));
}
}