From 7137e7b829144b8aa5b0c926b3d3ea9ee2919766 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 5 Apr 2011 18:28:18 +0000 Subject: [PATCH] [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 --- .../src/com/earth2me/essentials/commands/Commandmsg.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java index c14bfa72e..7ea9bc009 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java @@ -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 matches = server.matchPlayer(args[0]);