diff options
Diffstat (limited to 'Essentials/src/net/ess3/listener/EssentialsEntityListener.java')
-rw-r--r-- | Essentials/src/net/ess3/listener/EssentialsEntityListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/net/ess3/listener/EssentialsEntityListener.java b/Essentials/src/net/ess3/listener/EssentialsEntityListener.java index ae858e78e..1247f1e06 100644 --- a/Essentials/src/net/ess3/listener/EssentialsEntityListener.java +++ b/Essentials/src/net/ess3/listener/EssentialsEntityListener.java @@ -201,7 +201,7 @@ public class EssentialsEntityListener implements Listener { if (entity instanceof Player) { - User user = (User)ess.getUserMap().getPlayer(entity); + User user = (User)ess.getUserMap().getUser((Player)event.getEntity()); if (user.isGodModeEnabled()) { event.setIntensity(entity, 0d); |