diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRepairing.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRepairing.kt index a13ff48e..4a9434eb 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRepairing.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRepairing.kt @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.EcoEnchantsPlugin import com.willfp.ecoenchants.enchants.EcoEnchant import com.willfp.ecoenchants.target.EnchantLookup.getActiveEnchantLevelInSlot import com.willfp.ecoenchants.target.EnchantLookup.hasEnchantActive -import com.willfp.ecoenchants.target.TargetSlot +import com.willfp.libreforge.slot.impl.SlotTypeHands import org.bukkit.Bukkit class EnchantmentRepairing( @@ -35,7 +35,7 @@ class EnchantmentRepairing( continue } - if (notWhileHolding && slot in TargetSlot.HANDS.getItemSlots(player)) { + if (notWhileHolding && slot in SlotTypeHands.getItemSlots(player)) { continue }