Langur I'd advise against insulting people like NoLiver92 who are willing to help, if you actually want useful responses. What he is asking for...
Yup, just make sure you've instantiated serverMenu, or check if it's null before adding. Warning though, there could be synchronisation issues in...
Theoretically you should be able to store the item stack as a static variable and access it anywhere, but it doesn't seem a good idea. You would...
clienthax I think you've seen the error but your post doesn't correct it. pongo1231 if (cmd.getName().equalsIgnoreCase("burn") && args.length...
Crafted Evil What's your code after little editing so we can try to match to stack trace?
Chinwe Don't you hate it when you post something and whilst you were typing the person before said the same thing ;) Chinwe My mistake I...
Crafted Evil Can you post the full stacktrace from the console? Thanks Alos in your code you have the same if statement twice. Won't be...
EmeraldShift Primitive types such as int do not need to be inatialised to be used in Java as they are not Objects and as such can't be null....
Bump
Gater12 Thanks for the helpful response more than enough detail. werter318 Sarcasm can be hard to detect online sometimes so I will refrain from...
Give it a try and let us know if it works. If not please post an updated stack trace
Hi, I've developed a few plugins now for my own server and i'm currently production testing them. I would quite like to release them formally...
And create a config.yml file at the same location asyour plugin.yml
I agree your version would be less fragile than my own, as it would 100% ensure the avoidance of a class cast exception on the next line. With my...
willis62501 I agree with the above statements regarding learning via tutorials etc, but sometimes I find figuring out how some existing code...
Separate names with a comma.