@SteveStage What is line 164 of your Swordsman class?
It would be great to have the error match the current code. Then the only possible NullPointerException is a line, not the whole method.
1. The error and the stack trace do not match. Did you change the code afterward?
Literals will never vary between values, so this...
@Koboyashi Why do you not just use Spigot? Also, I do not think "central" exists, have you tried "snapshots"?
@Boscos You never break out of the while loop, so it repeats infinitely and times out the server.
@Yep, could you post your server log and current code for both classes (with pastebin or something similar)?
I just noticed, but your constructor's parameter is named "Plugin" while you use "plugin"
Java is case-sensitive, so that is probably why you are...
Did you pass null to the HelloCommand constructor? Please post your main class as well.
api-version is not required, and it is not the cause of...
@troaxx Post the whole error.
@EinsMalte Bukkit has utility methods for this, so you need not type it yourself.
You can get the distance with this:
@xpaintall You should not create the inventory when the InventoryClickEvent is called, but instead when you want to open it. Use the...
@xpaintall The trick is creating an inventory for every player and then adjusting the items to each player.
Eclipse tells you about compiler errors, not how to make a Bukkit plugin.
Oh, interesting. I wonder what Bukkit does with it. However, I am too lazy to check the source code right now. :p
Separate names with a comma.