From 5ae15bfb71ba67f943d8d6a9fd7436d88fca6392 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 22 Mar 2012 13:18:59 -0700 Subject: [PATCH] Fixed exception error when editing offline player with mmoedit --- .../java/com/gmail/nossr50/commands/general/MmoeditCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/general/MmoeditCommand.java b/src/main/java/com/gmail/nossr50/commands/general/MmoeditCommand.java index 5d063f0db..48d680d58 100644 --- a/src/main/java/com/gmail/nossr50/commands/general/MmoeditCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/general/MmoeditCommand.java @@ -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 {