Replaces instances of PluginManager#getPlugin() != null with PluginManager#isPluginEnabled()
[20:12:14 ERROR]: [EvenMoreFish] Failed to register events for class com.oheers.fish.utils.HeadDBIntegration because me/arcaniax/hdb/api/DatabaseLoadEvent does not exist.
This error was caused by HeadDatabase being disabled but still existing. It disappeared after these changes were made.
Replaces instances of
PluginManager#getPlugin() != null
withPluginManager#isPluginEnabled()
[20:12:14 ERROR]: [EvenMoreFish] Failed to register events for class com.oheers.fish.utils.HeadDBIntegration because me/arcaniax/hdb/api/DatabaseLoadEvent does not exist.
This error was caused by HeadDatabase being disabled but still existing. It disappeared after these changes were made.