Remove dead code relating to null profiles.

This commit is contained in:
Grant 2012-12-24 12:27:39 -05:00
parent 894a78c0f9
commit c4766ad3fb
2 changed files with 0 additions and 10 deletions

View File

@ -51,11 +51,6 @@ public class InspectCommand implements CommandExecutor {
PlayerProfile profile = new PlayerProfile(args[0], false); //Temporary Profile
if (profile == null) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));
return true;
}
if (!profile.isLoaded()) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));
return true;

View File

@ -100,11 +100,6 @@ public class MmoeditCommand implements CommandExecutor {
else {
profile = new PlayerProfile(args[0], false); //Temporary Profile
if (profile == null) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));
return true;
}
if (!profile.isLoaded()) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));
return true;