Solved Help Delayed Message

Discussion in 'Plugin Development' started by nick6899, Mar 25, 2015.

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

    nick6899

    Ok So Im Trying To Send A Message when the player completes a dungeon

    -Solved
     
    Last edited: Mar 25, 2015
  2. Offline

    nverdier

    @nick6899 Please post the entire code, so we can see what lines from the stack trace match up to which lines in the code. Also, read this.
     
  3. Offline

    nick6899

    -Deleted
     
    Last edited: Mar 25, 2015
  4. Offline

    nverdier

    @nick6899 Ok, it seems as though 'plugin' is null. Try printing out the value of it to console. Also, did you read the thread I linked you to?
     
  5. Offline

    nick6899

    Not Fully i Have To Go Soon And I Printed Out Player And It Says Null, Im Fairly New To Bukkit
     
  6. Offline

    nverdier

    @nick6899 So it's player that's null? Make it not null! Or did you mean plugin?
     
  7. Offline

    nick6899

    How would i make it not null?
     
  8. Offline

    nverdier

    @nick6899 Well what's null? Player or plugin?
     
  9. Offline

    nick6899

    Player
     
  10. Offline

    ark9026

    Try getting the player from the event inside that method
     
  11. Offline

    nick6899

    @ark9026 Just Tryed That It Doesnt Work, And I Just Added A Broadcast To The Method That Just Say They Completed The Dungeon And It Breaks The Entire EntitDeathEvent.

    Fixed

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

    ark9026

    Lock er up
     
Thread Status:
Not open for further replies.

Share This Page