diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandmsg.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandmsg.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandmsg.java b/Essentials/src/net/ess3/commands/Commandmsg.java index 53872e942..35b01bcf6 100644 --- a/Essentials/src/net/ess3/commands/Commandmsg.java +++ b/Essentials/src/net/ess3/commands/Commandmsg.java @@ -8,6 +8,7 @@ import static net.ess3.I18n._; import net.ess3.api.IReplyTo; import net.ess3.api.IUser; import net.ess3.permissions.Permissions; +import net.ess3.utils.FormatUtil; import net.ess3.utils.Util; import org.bukkit.command.CommandSender; @@ -35,16 +36,16 @@ public class Commandmsg extends EssentialsCommand } if (Permissions.MSG_COLOR.isAuthorized(user)) { - message = Util.replaceFormat(message); + message = FormatUtil.replaceFormat(message); } else { - message = Util.stripColor(message); + message = FormatUtil.stripColor(message); } } else { - message = Util.replaceFormat(message); + message = FormatUtil.replaceFormat(message); } final String translatedMe = _("me"); |