mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-05 00:38:35 +01:00
fix newly introduced oob
This commit is contained in:
parent
24b1bbd84b
commit
e6e9d4358f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class CraftingModuleItem extends ModuleItem {
|
||||||
if (!remain.isEmpty()) {
|
if (!remain.isEmpty()) {
|
||||||
var remainRequest = new NetworkLock(lock.location, remain);
|
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
|
// 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);
|
locks.add(index, remainRequest);
|
||||||
network.createNetworkLock(remainRequest);
|
network.createNetworkLock(remainRequest);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue