2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntitySkeletonWither.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntitySkeletonWither.java
|
|
|
|
@@ -105,7 +105,7 @@
|
2018-07-20 08:04:37 +02:00
|
|
|
return false;
|
|
|
|
} else {
|
|
|
|
if (entity instanceof EntityLiving) {
|
2021-06-11 07:00:00 +02:00
|
|
|
- ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.WITHER, 200), this);
|
|
|
|
+ ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.WITHER, 200), this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
|
2018-07-20 08:04:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|