An array's length will never be below 0. Also, you initialize the array with a size of 10, so the while loop would just be skipped.
@syuko But did you register the listener?
That works wonders! Thanks for sharing. :)
It should be fine. It is just some integer comparisons.
@_TheTechGuy_ At what line does the problem occur? Also, please format your code; it takes effort to see what is going on.
That depends on the version you are developing for.
Because NMS is obfuscated. They change up the obfuscation every few versions.
@Fillder Use ConfigurationSection#getStringList(String path). In this case, the path would be "games.war.id"
@OKGplayz How do you want to create this? Are you developing a plugin? Are you using Skript? Do you want to install a plugin that enables you to...
@Arotem What does your start.bat file look like?
@Tim_M Taking this chest head for an example. You would scroll to the bottom of the page and find the "Other" section, then get the "Value"...
@c7dev Bukkit does not support BungeeCord, though.
@syuko Do you have the EventHandler annotation? Is the Listener registered?
@Tim_M Try sending the packet to everyone except for the invisible player.
@syuko Try adding damage instead of subtracting it.
Also, you should be using #distanceSquared instead of #distance for much better performance.
Oh, that was not my intention, sorry about that. :p
Separate names with a comma.