mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-16 04:31:22 +01:00
Fix
This commit is contained in:
parent
cdd203022b
commit
c28c154661
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user