Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 14:50:08 +01:00
12 Zeilen
586 B
Diff
12 Zeilen
586 B
Diff
|
--- a/net/minecraft/server/EnchantmentWeaponDamage.java
|
||
|
+++ b/net/minecraft/server/EnchantmentWeaponDamage.java
|
||
|
@@ -44,7 +44,7 @@
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
|