Merge remote-tracking branch 'talchas/on-upstream' into AE2-Omnifactory

This commit is contained in:
Salomão
2020-10-20 23:04:44 -03:00
6 changed files with 52 additions and 6 deletions
@@ -131,14 +131,14 @@ public class MultiCraftingTracker
if( this.getLink( x ) == null )
{
final IAEItemStack aisC = ais.copy();
if (this.failedCraftTriesSlot[x] == 0) {
if (this.failedCraftTriesSlot[x] <= 0) {
aisC.setStackSize(itemToCraft);
this.setJob(x, cg.beginCraftingJob(w, g, mySrc, aisC, null));
}
if (getJob(x) != null) this.failedCraftTriesSlot[x] = 0;
else this.failedCraftTriesSlot[x] += 2;
else this.failedCraftTriesSlot[x] += 20;
}
this.failedCraftTriesSlot[x] += 2;
this.failedCraftTriesSlot[x] -= 1;
}
}
return false;