summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
index 422b63086..369eb3808 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
@@ -140,6 +140,10 @@ public class EssentialsPlayerListener implements Listener
public void delayedJoin(final Player player)
{
+ if (!player.isOnline())
+ {
+ return;
+ }
ess.getBackup().onPlayerJoin();
final User user = ess.getUser(player);
user.setDisplayNick();