Change to is Empty

This commit is contained in:
Xephi 2015-11-16 18:52:54 +01:00
parent 6f1af92a58
commit 4a49809ff2

View File

@ -56,7 +56,7 @@ public class AsyncronousQuit {
if (LimboCache.getInstance().hasLimboPlayer(name)) {
LimboPlayer limbo = LimboCache.getInstance().getLimboPlayer(name);
if (limbo.getGroup() != null && !limbo.getGroup().equals(""))
if (limbo.getGroup() != null && !limbo.getGroup().isEmpty())
Utils.addNormal(player, limbo.getGroup());
needToChange = true;
isOp = limbo.getOperator();