2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/level/block/BlockWitherRose.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockWitherRose.java
|
2024-04-24 01:15:00 +10:00
|
|
|
@@ -67,7 +67,7 @@
|
2020-02-02 11:16:01 +11:00
|
|
|
EntityLiving entityliving = (EntityLiving) entity;
|
|
|
|
|
2023-03-15 03:30:00 +11:00
|
|
|
if (!entityliving.isInvulnerableTo(world.damageSources().wither())) {
|
2020-02-02 11:16:01 +11:00
|
|
|
- entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40));
|
|
|
|
+ entityliving.addEffect(new MobEffect(MobEffects.WITHER, 40), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.WITHER_ROSE); // CraftBukkit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|