Allowed fill crafting grid without all ingredients (#693)

This commit is contained in:
slprime authored and GitHub committed 2025-08-06 13:40:52 -04:00
1 parent 3edb85b317
commit 594fbe6f79
2 files changed
+11 -9

No files matched your search

@@ -171,7 +171,7 @@ public class GuiOverlayButton extends GuiRecipeButton {
DrawableResource icon = ICON_OVERLAY;
if (this.hasOverlay && (!this.requireShiftForOverlayRecipe || NEIClientUtils.shiftKey())) {
icon = canFillCraftingGrid() ? ICON_FILL : ICON_FILL_ERROR;
icon = this.missedMaterialsTooltipLineHandler == null ? ICON_FILL : ICON_FILL_ERROR;
}
final int iconX = this.xPosition + (this.width - icon.width - 1) / 2;