mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 01:27:40 +01:00
[trunk] /msg /r Reply to the console. Add /r console command.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1135 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
4b8ffabfb8
commit
7137e7b829
@ -38,11 +38,12 @@ public class Commandmsg extends EssentialsCommand
|
||||
|
||||
if (args[0].equalsIgnoreCase(Console.NAME))
|
||||
{
|
||||
sender.sendMessage("[Me -> " + senderName + "§f] " + message);
|
||||
sender.sendMessage("[Me -> " + Console.NAME + "§f] " + message);
|
||||
CommandSender cs = Console.getCommandSender(server);
|
||||
cs.sendMessage("[" + senderName + " -> Me§f] " + message);
|
||||
replyTo.setReplyTo(cs);
|
||||
Console.getConsoleReplyTo().setReplyTo(sender);
|
||||
return;
|
||||
}
|
||||
|
||||
List<Player> matches = server.matchPlayer(args[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user