Skip to content

Commit

Permalink
Fix accidental log spam when handling left-over items from EMC export…
Browse files Browse the repository at this point in the history
… operations
  • Loading branch information
62832 committed Jun 25, 2024
1 parent 92e957f commit a918fe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected boolean doBusWork(IGrid grid) {

if (wasInserted < extracted) {
var leftover = extracted - wasInserted;
networkEmc.insertItem(item, leftover, Actionable.MODULATE, source, false);
leftover -= networkEmc.insertItem(item, leftover, Actionable.MODULATE, source, false);

if (leftover > 0) {
LOGGER.error(
Expand Down

0 comments on commit a918fe3

Please sign in to comment.