Solved Events not working

Discussion in 'Plugin Development' started by alexlyn1, May 7, 2014.

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

    alexlyn1

    SOLVED! :D:D
     
  2. Offline

    mazentheamazin

    alexlyn1
    Use debug statement to figure out if the event is actually being called, if so, where does the code 'stop'
    TGRHavoc
    *cough* line 40 *cough*
     
  3. Offline

    TGRHavoc

  4. Offline

    alexlyn1

    mazentheamazin Hello !!!! ;) I'm sub
    well anyways the code looks right? What's wrong with it?
    Bukkit.getServer().getPluginManager().registerEvents(this, this);

    mazentheamazin , TGRHavoc

    Thanks for the help i fixed it by replacing (p)
    to (p.getName())
    :p
    Anyways thanks alot.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
Thread Status:
Not open for further replies.

Share This Page