diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.patch b/patch-remap/og/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.patch new file mode 100644 index 0000000000..d637e8fc60 --- /dev/null +++ b/patch-remap/og/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.java ++++ b/net/minecraft/world/item/enchantment/EnchantmentWeaponDamage.java +@@ -63,7 +63,7 @@ + if (this.type == 2 && i > 0 && entityliving1.getMobType() == EnumMonsterType.ARTHROPOD) { + 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 + } + } + |