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 | 1f8b60081ecfc152e3b629037e836c8731841a22 (patch) | |
tree | 04a777d3f4b871898e57bc0bd3ff25984247bbf9 /EssentialsSpawn/src/com/earth2me | |
parent | a800359e0b40744a4cb8449487be3511cbd80d5c (diff) | |
download | Essentials-1f8b60081ecfc152e3b629037e836c8731841a22.tar Essentials-1f8b60081ecfc152e3b629037e836c8731841a22.tar.gz Essentials-1f8b60081ecfc152e3b629037e836c8731841a22.tar.lz Essentials-1f8b60081ecfc152e3b629037e836c8731841a22.tar.xz Essentials-1f8b60081ecfc152e3b629037e836c8731841a22.zip |
Reduce a few nickname refresh calls.
Diffstat (limited to 'EssentialsSpawn/src/com/earth2me')
-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; } |