Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Use PlayerRespawnEven#setRespawnLocation(Location) instead of teleporting the player to a location.
Check if event.getPlayer.getKiller() is an instance of Skeleton.
What is "val"?
Assuming that "pl" is a Player object, Player#setDisplayName(String) sets the display name of the player.
EDIT: nvm you just...
Post the full error log.
good job. mark the thread solved.
Then check which part of that line is returning null and fix it.
- Take advantage of OOP and don't jumble everything in one class.
- Make sure your method is not doing more than one thing.
- Use standard...
Do you have any other plugins on the server? If so, list them.
What does your class extend?
You said there is an error, so what's the stacktrace?
I'm going to assume this is in the InventoryClickEvent.
You can get the amount of the...