mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 18:44:48 +02:00
Cleanup Entity Listener
This commit is contained in:
@@ -201,7 +201,7 @@ public class EssentialsEntityListener implements Listener
|
|||||||
{
|
{
|
||||||
if (entity instanceof Player)
|
if (entity instanceof Player)
|
||||||
{
|
{
|
||||||
User user = (User)ess.getUserMap().getUser((Player)event.getEntity());
|
IUser user = ess.getUserMap().getUser((Player)entity);
|
||||||
if (user.isGodModeEnabled())
|
if (user.isGodModeEnabled())
|
||||||
{
|
{
|
||||||
event.setIntensity(entity, 0d);
|
event.setIntensity(entity, 0d);
|
||||||
|
Reference in New Issue
Block a user