mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 10:36:39 +00:00
More message, in /me
This commit is contained in:
parent
284f48f631
commit
094a747db3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public class Commandme extends EssentialsCommand
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
|
|
||||||
String message = getFinalArg(args, 1);
|
String message = getFinalArg(args, 0);
|
||||||
if (user.isAuthorized("essentials.chat.color"))
|
if (user.isAuthorized("essentials.chat.color"))
|
||||||
{
|
{
|
||||||
message = message.replaceAll("&([0-9a-f])", "§$1");
|
message = message.replaceAll("&([0-9a-f])", "§$1");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue