Fix health event name.

This commit is contained in:
KHobbits 2011-10-24 17:46:53 +01:00
parent d4a495fb52
commit dca88382ab

View File

@ -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())
{