SlimeKnights/TinkersConstruct — pull request #377 by unleashurgeek (2013-12-10 06:55:22+00:00)
Title: Fixing Armor Tab slots

The vanilla armor slots, and custom slots, were able to have any block in their slot. Furthermore, on the vanilla armor slots it allowed you to wear 4 diamond chestplates. For example, it would allow the user to have armor of 4x diamond chestplates. This fix should prevent users from putting items or the wrong armor into those slots. Also, I kept the ability to wear blocks on your head.

As for the custom slots, made them unused slots so you can not put items into them hold the Canister and Knapsack slot.

Also note the only tested code is the vanilla slot changes (changes to SlotArmorCopy), for I tested it before minecraft changed the lib locations. The code should work but I recommend testing before merging it.