diff --git a/src/main/java/net/minecraft/server/EntitySnowman.java b/src/main/java/net/minecraft/server/EntitySnowman.java index c7d618d8df..4c441b004c 100644 --- a/src/main/java/net/minecraft/server/EntitySnowman.java +++ b/src/main/java/net/minecraft/server/EntitySnowman.java @@ -33,7 +33,12 @@ public class EntitySnowman extends EntityGolem { public void e() { super.e(); if (this.aS()) { - this.damageEntity(DamageSource.DROWN, 1); + EntityDamageEvent event = new EntityDamageEvent(this.getBukkitEntity(), EntityDamageEvent.DamageCause.DROWNING, 1); + this.world.getServer().getPluginManager().callEvent(event); + + if (!event.isCancelled()) { + this.damageEntity(DamageSource.DROWN, event.getDamage()); + } } int i = MathHelper.floor(this.locX);