Skip to content

Commit

Permalink
temporary disabled loopback
Browse files Browse the repository at this point in the history
  • Loading branch information
EJaxx committed Nov 10, 2019
1 parent 0af42ae commit 15004f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions common/logisticspipes/modules/ModuleCrafter.java
Original file line number Diff line number Diff line change
Expand Up @@ -1143,10 +1143,8 @@ public void feedOrders(ItemStack extracted, EnumFacing direction) {

if (nextOrder.getDestination() != null && nextOrder.getInformation() instanceof CraftingChassieInformation &&
(nextOrder.getDestination() instanceof ModuleCrafter) && (((ModuleCrafter) nextOrder.getDestination()).slot != ModulePositionType.IN_PIPE)) {
if (nextOrder.getDestination().getRouter().getSimpleID() != getRouter().getSimpleID()) {
System.err.println("Loopback cancelled");
continue;
}
if (true) continue; // temporary disabled

CrafterBarrier.LogisticsModuleValue destModule = new CrafterBarrier.LogisticsModuleValue();
int maxToSend = CrafterBarrier.maxSend(nextOrder, extracted.getCount(), destModule, true);
if (maxToSend <= 0) {
Expand Down

0 comments on commit 15004f9

Please sign in to comment.