12 lines
690 B
Diff
12 lines
690 B
Diff
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
|
@@ -67,7 +67,7 @@
|
|
if (world instanceof WorldServer worldserver) {
|
|
if (world.getDifficulty() != EnumDifficulty.PEACEFUL && entity instanceof EntityLiving entityliving) {
|
|
if (!entityliving.isInvulnerableTo(worldserver, world.damageSources().wither())) {
|
|
- entityliving.addEffect(this.getBeeInteractionEffect());
|
|
+ entityliving.addEffect(this.getBeeInteractionEffect(), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.WITHER_ROSE); // CraftBukkit
|
|
}
|
|
}
|
|
}
|