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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user