Fixed the LivingArmourHandler for defense so it no longer ate armour.

This commit is contained in:
WayofTime 2016-01-15 06:24:10 -05:00
parent b70c71f7be
commit e888907350
6 changed files with 79 additions and 10 deletions

View file

@ -50,10 +50,16 @@ public class TileInputRoutingNode extends TileFilteredRoutingNode implements IIn
continue;
}
filteredList.add(GhostItemHelper.getStackFromGhost(stack));
ItemStack ghostResult = GhostItemHelper.getStackFromGhost(stack);
// if (ghostResult.stackSize == 0)
// {
// ghostResult.stackSize = Int.MaxValue();
// }
filteredList.add(ghostResult);
}
testFilter.initializeFilter(filteredList, (IInventory) tile, side, false);
testFilter.initializeFilter(filteredList, (IInventory) tile, side.getOpposite(), false);
return testFilter;
}