Search results

  1. M

    Question Null Exception on getCommand

    deleted paper-plugin.yml and replaced it with plugin.yml with the same text, now there's no error text but the command wont register/execute
  2. M

    Question Null Exception on getCommand

    getting this error: java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return value of "me.mackaroni.testplugin.TestPlugin.getCommand(String)" is null my onEnable: public void onEnable() { //...