1
0
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:
KHobbits
2011-10-29 10:36:30 +01:00
parent 7d1c19ba41
commit 49e2d69efb

View File

@@ -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");