2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -51,7 +51,7 @@
|
2020-02-02 01:16:01 +01:00
|
|
|
EntityLiving entityliving = (EntityLiving) entity;
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
if (!entityliving.isInvulnerableTo(DamageSource.WITHER)) {
|
2020-02-02 01:16:01 +01:00
|
|
|
- entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40));
|
|
|
|
+ entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.WITHER_ROSE); // CraftBukkit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|