#875 Item conduit/Crafting station(TC) issue

This commit is contained in:
CrazyPants committed 2014-08-15 22:48:31 +08:00
1 parent 04ee947c8d
commit 9153b06414
1 file changed
+2 -10
@@ -175,18 +175,10 @@ public class NetworkedInventory {
if(numInserted <= 0) {
return false;
}
ItemStack curStack = getInventory().getStackInSlot(slot);
if(curStack != null) {
curStack = curStack.copy();
curStack.stackSize -= numInserted;
if(curStack.stackSize > 0) {
getInventory().setInventorySlotContents(slot, curStack);
getInventory().markDirty();
} else {
getInventory().setInventorySlotContents(slot, null);
getInventory().markDirty();
}
getInventory().decrStackSize(slot, numInserted);
getInventory().markDirty();
}
con.itemsExtracted(numInserted, slot);
tickDeficit = Math.round(numInserted * con.getTickTimePerItem(conDir));