Skip to content

Commit

Permalink
Slightly simpler way to shrink and item stack in the catalyst hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorbatron committed Nov 15, 2024
1 parent 5039afb commit 4176e7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private void moveItemsFromStockToUsage(IItemHandlerModifiable src, IItemHandlerM
}

if (didSet) {
srcStack.setCount(srcStack.getCount() - 1);
srcStack.shrink(1);
}
}
}
Expand Down

0 comments on commit 4176e7b

Please sign in to comment.