Small issue with Event

Discussion in 'Plugin Development' started by xDrapor, Jul 7, 2012.

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

    xDrapor

    Hey there guys, its 5AM and I probably derped somewhere in this. Doesn't seem to be working
    Yes, I did register the event, and no, the config values aren't null :)
    http://pastie.org/4214678

    Thanks,

    xDrapor
     
  2. what p[art is not working?
     
  3. Offline

    xDrapor

    No errors in console, just does not detect the playerclick/execute commands. Sorry for not being specific enough, I'll probably fix this tomorrow morning and slap myself, haha. Going to get some rest now, thanks for the reply!

    xDrapor
     
  4. if(!(evt.getPlayer().getItemInHand().equals(Material.STICK)))
    return;
    Why you returning always (material is never equals to itemstack)
     
Thread Status:
Not open for further replies.

Share This Page