1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-04 06:34:44 +02:00

Fixed bug with mmoedit and offline users

This commit is contained in:
nossr50
2012-04-03 17:39:55 -07:00
parent f247545fc4
commit 7442d1c4a5
2 changed files with 3 additions and 4 deletions
Changelog.txt
src/main/java/com/gmail/nossr50/commands/general

@ -40,10 +40,8 @@ public class MmoeditCommand implements CommandExecutor {
if(Users.players.containsKey(args[0].toLowerCase())) {
PPt = Users.players.get(args[0].toLowerCase());
}
if(PPt == null)
Users.getOfflineProfile(args[0]); //Only grab offline profile if the above failed
} else
PPt = Users.getOfflineProfile(args[0]); //Only grab offline profile if the above failed
if(!PPt.isLoaded())
{