mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed exception error when editing offline player with mmoedit
This commit is contained in:
parent
1ca57df0c0
commit
5ae15bfb71
@ -53,7 +53,7 @@ public class MmoeditCommand implements CommandExecutor {
|
|||||||
{
|
{
|
||||||
int newvalue = Integer.valueOf(args[2]);
|
int newvalue = Integer.valueOf(args[2]);
|
||||||
Users.getOfflineProfile(args[0]).modifyskill(Skills.getSkillType(args[1]), newvalue);
|
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
|
} else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user