From 9acaa7b1261bd044735d9b7fddec5c9f6f1d6562 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Wed, 21 Aug 2013 16:48:08 +0200 Subject: [PATCH] We're expecting a null object here as well. --- .../com/gmail/nossr50/commands/database/McremoveCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/database/McremoveCommand.java b/src/main/java/com/gmail/nossr50/commands/database/McremoveCommand.java index 884c4bfd7..be634897a 100644 --- a/src/main/java/com/gmail/nossr50/commands/database/McremoveCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/database/McremoveCommand.java @@ -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; }