We're expecting a null object here as well.

This commit is contained in:
TfT_02 2013-08-21 16:48:08 +02:00
parent 2bae937b28
commit 9acaa7b126

View File

@ -24,7 +24,7 @@ public class McremoveCommand implements TabExecutor {
case 1:
String playerName = Misc.getMatchedPlayerName(args[0]);
if (UserManager.getPlayer(playerName) == null && CommandUtils.unloadedProfile(sender, mcMMO.getDatabaseManager().loadPlayerProfile(playerName, false))) {
if (UserManager.getPlayer(playerName, true) == null && CommandUtils.unloadedProfile(sender, mcMMO.getDatabaseManager().loadPlayerProfile(playerName, false))) {
return true;
}