Skip to content

Commit

Permalink
Fixed the items when repairing not being removed
Browse files Browse the repository at this point in the history
  • Loading branch information
vdvman1 committed Aug 23, 2013
1 parent 486d1af commit d0af5a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/vdvman1/betterAnvil/inventory/ContainerRepairBA.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ public void updateRepairOutput() {
}
this.resultInputStack = stack2.copy();
this.resultInputStack.stackSize = stack2.stackSize - amount;
if(this.resultInputStack.stackSize == 0) {
this.resultInputStack = null;
}
repairAmount += Math.round(damage) - orig;
repairCost += amount * BetterAnvil.repairCostPerItem;
}
Expand Down

0 comments on commit d0af5a3

Please sign in to comment.