ccrama You need to post the entire class as we don't know which line it is.
You would need to cancel the event.
I don't think it can be private, and can we see the whole class to see if it isn't another problem?
afistofirony SpoutCraft is a minecraft launcher. Spout is a game engine. Vanilla is a minecraft server plugin for the spout platform. Feel so...
SpoutCraft isn't a server mod :> But I agree this guy was being a little.. well... <.< Stupid?
I don't know how that can't be working. :eek:
valdev You should check if the player's killer is null like so: if(killer != null) { // Code here } PlayerDeathEvent is called when a player dies,...
GodzOfMadness He means the console error or stack trace.
Assult Has the right idea. :>
Might want to check if it is a player first. Or you get an error when an entity that is not a player dies.
Well I have no idea then, ArrayIndexExceptions always confuse me. Sorry I couldn't be of help.
Well you never did: [syntax=java]if(cmd.getName().equalsIgnoreCase("nb")) { // Code. }
That means that the player "ban" is not online.
Yeah we're going to need code to fix this. And no you don't need vault.
Bump. I would love this :>
How would I add headers to this? # header config: true generictwat: false
My server definitely needs this.
Make sure you do that in your onEnable()
add the return true right before the else if statement return true; } else if(args.....
1. return true; is what you are missing. 2. Not sure i think it is case sensitive. Try using slayed.getName() instead of name.
Separate names with a comma.