[Bug] Calling isEnabled
before enabled causes plugin to not start correctly
#160
Labels
bug
Something isn't working
When using the API, calling
FancyHologramsPlugin.isEnabled()
will cause the plugin to not correctly enable.Steps to reproduce
FancyHolograms 2.4.0
FancyHologramsPlugin.isEnabled()
on startupPlugin Not Enabled
stacktrace in console.Fixes
FancyHologramsPlugin.java
The
enabled
var is only set once. Calling the method before the plugin is initialized results in unintended behaviour.The text was updated successfully, but these errors were encountered: