Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
fix ME Requester duping the output from auto crafts
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Jun 1, 2022
1 parent 07bf176 commit 1667d14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public long insertCraftedItems(ICraftingLink link, AEKey what, long amount, Acti
for (var slot = 0; slot < progressions.length; slot++) {
var state = progressions[slot];
if (state instanceof CraftingLinkState cls && cls.link().equals(link)) {
storageManager.get(slot).update(what, amount);
if (!mode.isSimulate()) storageManager.get(slot).update(what, amount);
return amount;
}
}
Expand Down

0 comments on commit 1667d14

Please sign in to comment.