mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Removed unused OfflinePlayer from PlayerProfile
This commit is contained in:
@ -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"));
|
||||
|
@ -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"));
|
||||
|
Reference in New Issue
Block a user