Hey guys! I got an error from this plugin (this is just the main class) and since I'm a new developer I don't really understand what's happened to make this error. I assume it's my getAPI() method because it says 'null'. But how do I fix it? I have TitleAPI in plugin folder and it is listed as a dependency in plugin.yml. Thanks Techno
Code: at com.anand.server.Main.onEnable(Main.java:30) What is line 30 of the Main class for com.anand.server.Main (you posted com.bob.server.Main)
it's "getCommand("news").setExecutor(new News());". But how is that the error? Also, they're the same file, I was trying to hide the name of my friend who made it. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Yes, him and I both work on this plugin and it was working fine until after I edited it and something errored. It seems as if I forgot to register the command in my plugin.yml. Sorry to bother everyone with this. EDIT by Moderator: merged posts, please use the edit button instead of double posting.