mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 02:58:03 +01:00
Fix health event name.
This commit is contained in:
parent
d4a495fb52
commit
dca88382ab
@ -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())
|
if (event.getEntity() instanceof Player && ess.getUser(event.getEntity()).isAfk())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user