diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandnick.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandnick.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java index b7cf4b32d..d54524ba5 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java @@ -2,7 +2,8 @@ package com.earth2me.essentials.commands; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.User; -import com.earth2me.essentials.Util; +import com.earth2me.essentials.utils.StringUtil; +import com.earth2me.essentials.utils.FormatUtil; import java.util.Locale; import org.bukkit.Server; import org.bukkit.command.CommandSender; @@ -66,11 +67,11 @@ public class Commandnick extends EssentialsCommand { if (user == null) { - return Util.replaceFormat(nick); + return FormatUtil.replaceFormat(nick); } else { - return Util.formatString(user, "essentials.nick", nick); + return FormatUtil.formatString(user, "essentials.nick", nick); } } |