PlayerItemConsumeEvent not triggering

Discussion in 'Plugin Development' started by 8bitfusion, Jul 28, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    8bitfusion

    Yes, I have the event and event listener imported. This plugin is designed to add 3 regeneration apples to the game. The crafting recipes work, but I am given no effects on consuming them. I have even tried sending a message, but it evidently does not trigger. Help!

    Code:
    http://pastebin.com/BzzdCgFN
     
  2. Offline

    N00BHUN73R

    8bitfusion
    Register your events on your onEnable method
     
  3. Offline

    8bitfusion

    Ah thank you!
     
  4. Offline

    mine-care

    Please mark as solved
     
Thread Status:
Not open for further replies.

Share This Page