From 1aa911892819d671ca40fad2c2371cf49f7e24ee Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 26 Sep 2022 18:42:39 +0100 Subject: [PATCH] fixxx --- .../com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt | 2 +- .../willfp/ecoenchants/enchants/impl/EnchantmentReplenish.kt | 2 +- .../willfp/ecoenchants/enchants/impl/EnchantmentSoulbound.kt | 2 +- .../willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt index 10f1ff0f..167a69ec 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt @@ -16,7 +16,7 @@ class EnchantmentRapid( plugin, force = false ) { - init { + override fun onInit() { this.registerListener(RapidHandler(this)) } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentReplenish.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentReplenish.kt index bbdd3df2..22b842a2 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentReplenish.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentReplenish.kt @@ -16,7 +16,7 @@ class EnchantmentReplenish( plugin, force = false ) { - init { + override fun onInit() { this.registerListener(ReplenishHandler(this, plugin)) } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentSoulbound.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentSoulbound.kt index 2bda8c21..419d3603 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentSoulbound.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentSoulbound.kt @@ -27,7 +27,7 @@ class EnchantmentSoulbound( plugin, force = false ) { - init { + override fun onInit() { this.registerListener(SoulboundHandler(plugin, this)) } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt index 17ca76c0..dfca89d7 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt @@ -25,7 +25,7 @@ class EnchantmentTelekinesis( plugin, force = false ) { - init { + override fun onInit() { this.registerListener(TelekinesisHandler(this)) TelekinesisUtils.registerTest { it.hasEnchantActive(this) } }