Skip to content

Commit

Permalink
fix newly introduced oob
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck committed Nov 27, 2024
1 parent 24b1bbd commit e6e9d43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void tick(ItemStack module, PipeBlockEntity tile) {
if (!remain.isEmpty()) {
var remainRequest = new NetworkLock(lock.location, remain);
// if we're ensuring item order, we need to insert the remaining request at the start so that it gets processed first
var index = ensureItemOrder ? 0 : tile.craftResultRequests.size();
var index = ensureItemOrder ? 0 : locks.size();
locks.add(index, remainRequest);
network.createNetworkLock(remainRequest);
}
Expand Down

0 comments on commit e6e9d43

Please sign in to comment.