diff --git a/src/main/java/com/github/crimsondawn45/fabricshieldlib/lib/enchantment/ShieldTarget.java b/src/main/java/com/github/crimsondawn45/fabricshieldlib/lib/enchantment/ShieldTarget.java index ba0146b..ab4a70d 100644 --- a/src/main/java/com/github/crimsondawn45/fabricshieldlib/lib/enchantment/ShieldTarget.java +++ b/src/main/java/com/github/crimsondawn45/fabricshieldlib/lib/enchantment/ShieldTarget.java @@ -4,14 +4,14 @@ import com.github.crimsondawn45.fabricshieldlib.mixin.EnchantmentTargetMixin; import net.minecraft.item.Item; -import net.minecraft.item.ShieldItem; +import net.minecraft.item.Items; public class ShieldTarget extends EnchantmentTargetMixin { @Override public boolean isAcceptableItem(Item item) { - if(item instanceof ShieldItem) { + if(item.equals(Items.SHIELD)) { return true; }