diff --git a/src/main/java/com/provismet/AdditionalArmoury/enchantments/dagger/SplatterEnchantment.java b/src/main/java/com/provismet/AdditionalArmoury/enchantments/dagger/SplatterEnchantment.java index 4d9376f..955b070 100644 --- a/src/main/java/com/provismet/AdditionalArmoury/enchantments/dagger/SplatterEnchantment.java +++ b/src/main/java/com/provismet/AdditionalArmoury/enchantments/dagger/SplatterEnchantment.java @@ -2,7 +2,9 @@ import com.provismet.AdditionalArmoury.registries.AAEnchantmentTargets; import com.provismet.CombatPlusCore.enchantments.WeaponUtilityEnchantment; +import com.provismet.CombatPlusCore.utility.CPCEnchantmentHelper; +import net.minecraft.enchantment.Enchantment; import net.minecraft.entity.EquipmentSlot; public class SplatterEnchantment extends WeaponUtilityEnchantment { @@ -24,4 +26,10 @@ public int getMaxPower(int level) { public int getMaxLevel () { return 2; } + + @Override + protected boolean canAccept(Enchantment other) { + if (CPCEnchantmentHelper.isOffhand(other)) return true; + return super.canAccept(other); + } }