This commit is contained in:
Gabriele C 2015-11-01 13:34:24 +01:00
parent 49a9d3f51b
commit 7cea79eefc
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -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() {