mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
65bc2541a3
By: md_5 <git@md-5.net>
11 lines
577 B
Diff
11 lines
577 B
Diff
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
|
@@ -67,7 +67,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
|
|
}
|
|
}
|
|
|