mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
8398e12b34
By: md_5 <git@md-5.net>
12 lines
577 B
Diff
12 lines
577 B
Diff
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
|
@@ -66,7 +66,7 @@
|
|
EntityLiving entityliving = (EntityLiving) entity;
|
|
|
|
if (!entityliving.isInvulnerableTo(world.damageSources().wither())) {
|
|
- entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40));
|
|
+ entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.WITHER_ROSE); // CraftBukkit
|
|
}
|
|
}
|
|
|