mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
9da047989c
By: md_5 <git@md-5.net>
11 lines
564 B
Diff
11 lines
564 B
Diff
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
|
@@ -31,7 +31,7 @@
|
|
EntityLiving entityliving = (EntityLiving) entity;
|
|
|
|
if (!entityliving.isInvulnerable(DamageSource.WITHER)) {
|
|
- entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40));
|
|
+ entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.WITHER_ROSE); // CraftBukkit
|
|
}
|
|
}
|
|
|