summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-06-19 04:02:15 +0100
committerKHobbits <rob@khobbits.co.uk>2014-06-19 04:02:15 +0100
commitfd2e4a03cec2ec4892f37fea411d5387f36c0b3c (patch)
tree829da24e1fa23c626a3719a1ec5415e07cfaa56e /EssentialsSpawn
parent1f630b3de2a893faf4bef6037fe3e6bb94bf3308 (diff)
downloadEssentials-fd2e4a03cec2ec4892f37fea411d5387f36c0b3c.tar
Essentials-fd2e4a03cec2ec4892f37fea411d5387f36c0b3c.tar.gz
Essentials-fd2e4a03cec2ec4892f37fea411d5387f36c0b3c.tar.lz
Essentials-fd2e4a03cec2ec4892f37fea411d5387f36c0b3c.tar.xz
Essentials-fd2e4a03cec2ec4892f37fea411d5387f36c0b3c.zip
Reduce a few nickname refresh calls.
Diffstat (limited to 'EssentialsSpawn')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
index 648ba33e3..67ef6c28e 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -134,7 +134,7 @@ public class EssentialsSpawnPlayerListener implements Listener
LOGGER.log(Level.FINE, "New player join");
}
- });
+ }, 2L);
}
@@ -150,7 +150,7 @@ public class EssentialsSpawnPlayerListener implements Listener
@Override
public void run()
{
- if (user.getBase() instanceof OfflinePlayer)
+ if (user.getBase() instanceof OfflinePlayer || !user.getBase().isOnline())
{
return;
}