diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandnick.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandnick.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java index e959157ec..e9431ddf3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java @@ -2,7 +2,6 @@ package com.earth2me.essentials.commands; import org.bukkit.Server; import org.bukkit.command.CommandSender; -import com.earth2me.essentials.Essentials; import org.bukkit.entity.Player; import com.earth2me.essentials.User; import com.earth2me.essentials.Util; @@ -67,7 +66,7 @@ public class Commandnick extends EssentialsCommand } } - user.charge(this); + charge(user); user.setDisplayName(ess.getConfiguration().getString("nickname-prefix", "~") + nick); user.setNickname(nick); user.sendMessage(Util.format("nickSet", user.getDisplayName() + "ยง7.")); |