More message, in /me

This commit is contained in:
KHobbits 2011-10-29 10:36:30 +01:00
parent 284f48f631
commit 094a747db3

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