diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-13 13:55:44 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-13 13:55:44 +0000 |
commit | 9af056622936f6cac2d3eb8637027348c8b7c0b9 (patch) | |
tree | baabb010634042da78da5296af686202f61d50b7 | |
parent | d0bc33aaab0982876a02bdfdfdecda7b060f8253 (diff) | |
download | Essentials-9af056622936f6cac2d3eb8637027348c8b7c0b9.tar Essentials-9af056622936f6cac2d3eb8637027348c8b7c0b9.tar.gz Essentials-9af056622936f6cac2d3eb8637027348c8b7c0b9.tar.lz Essentials-9af056622936f6cac2d3eb8637027348c8b7c0b9.tar.xz Essentials-9af056622936f6cac2d3eb8637027348c8b7c0b9.zip |
Prevent userdata creation, when the player is already rejected by another plugin.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1429 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index a9fc86629..0965dc4f3 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -253,11 +253,11 @@ public class EssentialsPlayerListener extends PlayerListener @Override public void onPlayerLogin(PlayerLoginEvent event) { - User user = ess.getUser(event.getPlayer()); if (event.getResult() != Result.ALLOWED) { return; } + User user = ess.getUser(event.getPlayer()); if (user.isBanned()) { |