summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-24 17:46:53 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-24 17:46:53 +0100
commitdca88382ab55a63d0762660be9d16155bbbe52a5 (patch)
tree012d59eaf218c7575d7fe5aef2b8c9a58c702e40
parentd4a495fb52119f0b35cb816970f66835ee602733 (diff)
downloadEssentials-dca88382ab55a63d0762660be9d16155bbbe52a5.tar
Essentials-dca88382ab55a63d0762660be9d16155bbbe52a5.tar.gz
Essentials-dca88382ab55a63d0762660be9d16155bbbe52a5.tar.lz
Essentials-dca88382ab55a63d0762660be9d16155bbbe52a5.tar.xz
Essentials-dca88382ab55a63d0762660be9d16155bbbe52a5.zip
Fix health event name.
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java3
1 files changed, 2 insertions, 1 deletions
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())
{