mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +02:00
More message, in /me
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user