mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +01:00
cleanup
This commit is contained in:
parent
49a9d3f51b
commit
7cea79eefc
@ -109,7 +109,7 @@ public class AuthMe extends JavaPlugin {
|
||||
// In case we need to cache PlayerAuths, prevent connection before it's done
|
||||
private boolean canConnect = true;
|
||||
|
||||
public boolean isCanConnect() {
|
||||
public boolean canConnect() {
|
||||
return canConnect;
|
||||
}
|
||||
|
||||
|
@ -58,8 +58,7 @@ public class AsyncronousJoin {
|
||||
plugin.ess.getUser(player).setSocialSpyEnabled(false);
|
||||
}
|
||||
|
||||
if (!plugin.isCanConnect())
|
||||
{
|
||||
if (!plugin.canConnect()) {
|
||||
final GameMode gM = AuthMePlayerListener.gameMode.get(name);
|
||||
sched.scheduleSyncDelayedTask(plugin, new Runnable() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user