Solved Setting Death Message Not Working

Discussion in 'Plugin Development' started by Reptar_, Mar 18, 2013.

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

    Reptar_

    I've looked around at others' codes and it seems as if I'm doing it right. But what am I doing wrong?

    http://pastebin.com/dt3Kj0Qt

    Is it because I didn't do event.getDeathMessage();?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  2. Offline

    gcflames5

    Did you register the events in that class?
     
  3. Offline

    Reptar_

    Pretty sure I did.
     
  4. Offline

    gcflames5

    Can I see your main class?
     
  5. Offline

    Reptar_

    I was editing the wrong MyPlayerListener class -_-

    gcflames5
    Yep. Exactly the problem. I was editing the class of another one of my plugins thinking it was the one I was supposed to be editing. All's good and working now. Thanks though! xP

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

Share This Page