Consume event - golden apple cancelling the regen

Discussion in 'Plugin Development' started by Randall123459, Oct 22, 2015.

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

    Randall123459

    Hello, I am making this crafting recipe that heals you 6 hearts.

    Right now I have managed to create the recipe but it won't give 6 hearts. I believe this is down to the regen not cancelling from the original forgive me if i'm wrong.

    Please help asap thanks!

    http://pastebin.com/xEB4SfCw
     
  2. Offline

    Scimiguy

    You don't have an @EventHandler tag on your consume event
    And you haven't registered your listener

    @Randall123459
     
  3. Offline

    Randall123459

    @Scimiguy sorry I haven't used java in a while could you show me what I'm doing... I probably sound like a right idiot but the main part of this plugin was made before I stopped....
     
  4. Offline

    Scimiguy

    teej107 likes this.
Thread Status:
Not open for further replies.

Share This Page