Skip to content

Commit

Permalink
Update comment in main class
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkmar committed Sep 16, 2021
1 parent cf1492c commit b7d6523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/net/axay/kspigot/main/KSpigot.kt
Expand Up @@ -66,7 +66,7 @@ abstract class KSpigot : JavaPlugin() {
final override fun onEnable() {
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) {
BrigardierSupport.registerAll()
}
Expand Down

0 comments on commit b7d6523

Please sign in to comment.