Skip to content

Commit

Permalink
Fix illegal items (craftable tag) beeing injected to system after cra…
Browse files Browse the repository at this point in the history
…ft start fail (#571)
  • Loading branch information
kuba6000 authored Sep 5, 2024
1 parent 35ab2c3 commit a5dbef0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private void extractExact(CraftingContext context, MECraftingInventory source, L
Actionable.MODULATE,
context.actionSource);
if (extracted != null && extracted.getStackSize() > 0) {
extracted.setCraftable(false);
request.fulfill(this, extracted, context);
removedList.add(extracted.copy());
}
Expand All @@ -105,6 +106,7 @@ private void extractFuzzy(CraftingContext context, MECraftingInventory source, L
if (extracted == null || extracted.getStackSize() <= 0) {
continue;
}
extracted.setCraftable(false);
request.fulfill(this, extracted, context);
removedList.add(extracted.copy());
}
Expand Down

0 comments on commit a5dbef0

Please sign in to comment.