Fixed exception error when editing offline player with mmoedit

This commit is contained in:
nossr50 2012-03-22 13:18:59 -07:00
parent 1ca57df0c0
commit 5ae15bfb71

View File

@ -53,7 +53,7 @@ public class MmoeditCommand implements CommandExecutor {
{
int newvalue = Integer.valueOf(args[2]);
Users.getOfflineProfile(args[0]).modifyskill(Skills.getSkillType(args[1]), newvalue);
System.out.println(args[1] + " has been modified for " + plugin.getServer().getPlayer(args[0]).getName() + ".");
System.out.println(args[1] + " has been modified for " + args[0] + ".");
}
} else
{