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