From dca88382ab55a63d0762660be9d16155bbbe52a5 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Mon, 24 Oct 2011 17:46:53 +0100 Subject: Fix health event name. --- Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java index 4f8f2fa50..11c32c059 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java @@ -100,7 +100,8 @@ public class EssentialsEntityListener extends EntityListener } } - public void onRegainHealth(EntityRegainHealthEvent event) + @Override + public void onEntityRegainHealth(EntityRegainHealthEvent event) { if (event.getEntity() instanceof Player && ess.getUser(event.getEntity()).isAfk()) { -- cgit v1.2.3