--- a/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.java +++ b/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.java @@ -35,7 +35,7 @@ if (this.targets.get() == TagsEntity.SENSITIVE_TO_BANE_OF_ARTHROPODS && i > 0 && entityliving1.getType().is((TagKey) this.targets.get())) { int j = 20 + entityliving.getRandom().nextInt(10 * i); - entityliving1.addEffect(new MobEffect(MobEffects.MOVEMENT_SLOWDOWN, j, 3)); + entityliving1.addEffect(new MobEffect(MobEffects.MOVEMENT_SLOWDOWN, j, 3), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit } }