Fixed the LivingArmourHandler for defense so it no longer ate armour.
This commit is contained in:
parent
b70c71f7be
commit
e888907350
6 changed files with 79 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue