Removed unused OfflinePlayer from PlayerProfile

This commit is contained in:
bm01
2012-07-07 19:27:47 +02:00
parent 5b8811bd09
commit 54011fdeb7
4 changed files with 9 additions and 22 deletions

View File

@ -60,7 +60,7 @@ public class InspectCommand implements CommandExecutor {
return true;
}
profile = new PlayerProfile(target, false); //Temporary Profile
profile = new PlayerProfile(target.getName(), false); //Temporary Profile
if (!profile.isLoaded()) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));

View File

@ -104,7 +104,7 @@ public class MmoeditCommand implements CommandExecutor {
return true;
}
else {
profile = new PlayerProfile(modifiedPlayer, false); //Temporary Profile
profile = new PlayerProfile(modifiedPlayer.getName(), false); //Temporary Profile
if (!profile.isLoaded()) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));