Cancel right-click helmet

Discussion in 'Spigot Plugin Development' started by MakingTheMagic, May 31, 2016.

  1. Hello there!

    I have a leather hat in my inventory with a custom display name/lore. Is there a way I can cancel the right-click event where it puts the hat on the players head. So when they right-click it doesn't do anything?

    Thanks a bunch,
    any advice will be appreciated! :)