From d8824b37baabd49aa219aa5df1eb14d8b4136f70 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 15 May 2011 16:54:25 +0000 Subject: [PATCH] Small fix so that the player gets a reply, even if he is ignored git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1492 e251c2fe-e539-e718-e476-b85c1f46cddb --- .../src/com/earth2me/essentials/commands/Commandmsg.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java index 60fa04e97..fcedbde83 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java @@ -50,12 +50,12 @@ public class Commandmsg extends EssentialsCommand charge(sender); for (Player p : matches) - { + { + sender.sendMessage(Util.format("msgFormat", translatedMe, p.getDisplayName(), message)); if (sender instanceof Player && ess.getUser(p).isIgnoredPlayer(((Player)sender).getName())) { continue; } - sender.sendMessage(Util.format("msgFormat", translatedMe, p.getDisplayName(), message)); p.sendMessage(Util.format("msgFormat", senderName, translatedMe, message)); replyTo.setReplyTo(ess.getUser(p)); ess.getUser(p).setReplyTo(sender);