Closed nhanledev closed 1 year ago
Interesting, hadn't thought of that.
As part of the PluginBase API plugins are made known of other plugins that exist on the server and have enabled. It reads other plugins' plugin.yml to see if they use a preloader (like many of my plugins do) and if they do, whether the preloader also confirms the plugin enabled. I guess if a plugin's yaml is malformed like this, errors occur.
Thankfully nothing happens when an error occurs - the plugin's presence is simply not notified to other plugins. I'll rewrite this a little to silence errors like this / dont check plugin.yml unless the plugin's main class is the Preloader class.
https://ci.mg-dev.eu/job/BKCommonLib/1502/ here ya go
https://ci.mg-dev.eu/job/BKCommonLib/1502/ here ya go
That was fast! That snapshot build fixes this issue, at least for me and BetterTrident! Thank you so much.
BkCommonLib version: BKCommonLib-1.19.3-v2-1501
Spigot version: Paper 1.19.3 build 404
Problem or bug:
New version of BKCommonLib makes other plugin cannot load by throwing exception. In my case it is BetterTrident https://www.spigotmc.org/resources/bettertridents.92656/
Expected behaviour:
It should let BetterTrident load normally like in previous build.
Steps to reproduce:
Install Paper 1.19.3 build 404 Install MyWorlds MyWorlds-1.19.3-v3-213 Install BKCommonLib-1.19.3-v2-1501 Install BetterTridents-2.2.2
Exception throws: