I am a candy that looks like a shepherd’s staff. What am I?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?