Update comment in main class
This commit is contained in:
@@ -66,7 +66,7 @@ abstract class KSpigot : JavaPlugin() {
|
|||||||
final override fun onEnable() {
|
final override fun onEnable() {
|
||||||
startup()
|
startup()
|
||||||
|
|
||||||
// Only register the listeners, when the plugin is still enabled and didn't get disabled in the shutdown method
|
// only register the commands if the plugin has not disabled itself
|
||||||
if (this.isEnabled) {
|
if (this.isEnabled) {
|
||||||
BrigardierSupport.registerAll()
|
BrigardierSupport.registerAll()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user