Skip to content

Commit

Permalink
fix: hooks doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Feb 12, 2024
1 parent c0384d2 commit 901daad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ir.syrent.velocityvanish.utils.component

abstract class Dependency(val name: String) {

val exists = Ruom.hasPlugin(name) && Settings.settings.config.getBoolean("hooks.${name.lowercase()}", false)
val exists = Ruom.hasPlugin(name) && Settings.settings.config.getBoolean("hooks.${name.lowercase()}.enabled", false)

fun register() {
if (Settings.showDependencySuggestions) {
Expand Down

0 comments on commit 901daad

Please sign in to comment.