This commit is contained in:
Auxilor 2022-09-26 18:42:39 +01:00
parent 0a4dde0a30
commit 1aa9118928
4 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ class EnchantmentRapid(
plugin,
force = false
) {
init {
override fun onInit() {
this.registerListener(RapidHandler(this))
}

View File

@ -16,7 +16,7 @@ class EnchantmentReplenish(
plugin,
force = false
) {
init {
override fun onInit() {
this.registerListener(ReplenishHandler(this, plugin))
}

View File

@ -27,7 +27,7 @@ class EnchantmentSoulbound(
plugin,
force = false
) {
init {
override fun onInit() {
this.registerListener(SoulboundHandler(plugin, this))
}

View File

@ -25,7 +25,7 @@ class EnchantmentTelekinesis(
plugin,
force = false
) {
init {
override fun onInit() {
this.registerListener(TelekinesisHandler(this))
TelekinesisUtils.registerTest { it.hasEnchantActive(this) }
}