` getConfig(). ` Error. Help.

Discussion in 'Plugin Development' started by TheLazeboy, Dec 29, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    TheLazeboy

    [​IMG]
    How do I fix this error? Should be easy, but it's only quick fix is "Create method "getConfig()" I don't see how it's wrong. It's all like in the video tutorial. But that was back in February, so Bukkit might have changed.
     
  2. Offline

    fireblast709

    getConfig() is a method of the JavaPlugin class. So get an instance of your main class (using the constructor) and use that (ie. if the instance you passed along is set to 'plugin', you would use 'plugin.getConfig()')
     
Thread Status:
Not open for further replies.

Share This Page