diff options
author | KHobbits <rob@khobbits.co.uk> | 2014-06-19 04:02:15 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-06-19 04:02:15 +0100 |
commit | fd2e4a03cec2ec4892f37fea411d5387f36c0b3c (patch) | |
tree | 829da24e1fa23c626a3719a1ec5415e07cfaa56e /EssentialsSpawn/src/com | |
parent | 1f630b3de2a893faf4bef6037fe3e6bb94bf3308 (diff) | |
download | Essentials-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/src/com')
-rw-r--r-- | EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java | 4 |
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; } |