1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-19 04:52:30 +02:00

Reduce a few nickname refresh calls.

This commit is contained in:
KHobbits
2014-06-19 04:02:15 +01:00
parent a800359e0b
commit 1f8b60081e
8 changed files with 26 additions and 6 deletions

View File

@@ -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;
}