mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-26 05:28:33 +01:00
use the correct start inventory for re-routing
This commit is contained in:
parent
7667adaac1
commit
a56896b2b2
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public class PipeItem implements INBTSerializable<CompoundNBT>, ILiquidContainer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// second time: we arrived at our input chest, it is full, so we try to find a different goal location
|
// second time: we arrived at our input chest, it is full, so we try to find a different goal location
|
||||||
ItemStack remain = network.routeItem(currPipe.getPos(), this.startInventory, this.stack, (stack, speed) -> this, false);
|
ItemStack remain = network.routeItem(currPipe.getPos(), this.destInventory, this.stack, (stack, speed) -> this, false);
|
||||||
if (remain.isEmpty())
|
if (remain.isEmpty())
|
||||||
return;
|
return;
|
||||||
this.stack = remain;
|
this.stack = remain;
|
||||||
|
|
Loading…
Reference in a new issue