Discussion in 'Plugin Development' started by nick6899, Mar 25, 2015.
Ok So Im Trying To Send A Message when the player completes a dungeon
@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.
@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?
Not Fully i Have To Go Soon And I Printed Out Player And It Says Null, Im Fairly New To Bukkit
@nick6899 So it's player that's null? Make it not null! Or did you mean plugin?
How would i make it not null?
@nick6899 Well what's null? Player or plugin?
Try getting the player from the event inside that method
@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.
EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Lock er up
Separate names with a comma.