reduce check

This commit is contained in:
Xephi 2016-01-08 19:26:26 +01:00
parent b8ae8d995b
commit c8fa9a146e

View File

@ -61,8 +61,8 @@ public class AsynchronousQuit {
database.updateSession(auth);
}
if (LimboCache.getInstance().hasLimboPlayer(name)) {
LimboPlayer limbo = LimboCache.getInstance().getLimboPlayer(name);
LimboPlayer limbo = LimboCache.getInstance().getLimboPlayer(name);
if (limbo != null) {
if (limbo.getGroup() != null && !limbo.getGroup().isEmpty())
Utils.addNormal(player, limbo.getGroup());
needToChange = true;