java.lang.IllegalArgumentException: Plugin already initialized. What's going on?

后端 未结 3 1005
生来不讨喜
生来不讨喜 2021-01-29 08:50

When I\'m testing my new plugin an exception keeps getting thrown: java.lang.IllegalArgumentException: Plugin already initialized! Please help! Here\'s the code:



        
3条回答
  •  一整个雨季
    2021-01-29 09:41

    PluginAlreadyInitialized error occours when the .jar file contains more than one subclass of JavaPlugin class. Use the JavaPlugin class only once in all plugins from.

提交回复
热议问题