2018-07-20 08:04:37 +02:00
|
|
|
--- a/net/minecraft/server/EnchantmentWeaponDamage.java
|
|
|
|
+++ b/net/minecraft/server/EnchantmentWeaponDamage.java
|
2019-06-21 12:00:00 +02:00
|
|
|
@@ -51,7 +51,7 @@
|
2018-07-20 08:04:37 +02:00
|
|
|
if (this.a == 2 && entityliving1.getMonsterType() == EnumMonsterType.ARTHROPOD) {
|
|
|
|
int j = 20 + entityliving.getRandom().nextInt(10 * i);
|
|
|
|
|
|
|
|
- entityliving1.addEffect(new MobEffect(MobEffects.SLOWER_MOVEMENT, j, 3));
|
|
|
|
+ entityliving1.addEffect(new MobEffect(MobEffects.SLOWER_MOVEMENT, j, 3), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|