1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-14 10:34:41 +02:00

Cleanup Entity Listener

This commit is contained in:
ementalo
2012-10-19 12:17:54 +01:00
parent e0d3b9cfcf
commit a12706f88d

View File

@@ -201,7 +201,7 @@ public class EssentialsEntityListener implements Listener
{
if (entity instanceof Player)
{
User user = (User)ess.getUserMap().getUser((Player)event.getEntity());
IUser user = ess.getUserMap().getUser((Player)entity);
if (user.isGodModeEnabled())
{
event.setIntensity(entity, 0d);