Added isValidArmor(ItemStack, int, EntityPlayer) in Item.java