From f04e388d465e353fb02e7d9445b0e4b10567f829 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Wed, 8 Feb 2012 10:54:30 -0500 Subject: Added RegainReason.ENDER_CRYSTAL. --- src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java b/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java index 3e84de8b..5b7c2227 100644 --- a/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java @@ -83,6 +83,10 @@ public class EntityRegainHealthEvent extends EntityEvent implements Cancellable * When a player regains health from eating consumables */ EATING, + /** + * When an ender dragon regains health from an ender crystal + */ + ENDER_CRYSTAL, /** * When a player is healed by a potion or spell */ -- cgit v1.2.3