mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-17 16:15:24 +01:00
12 lines
542 B
Diff
12 lines
542 B
Diff
--- a/net/minecraft/server/BlockWitherRose.java
|
|
+++ b/net/minecraft/server/BlockWitherRose.java
|
|
@@ -18,7 +18,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
|
|
}
|
|
}
|
|
|