From 895c14430a71e27e490bdd67125b6a0bcd8ca9f6 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Mon, 11 Mar 2013 10:33:59 +0000 Subject: [PATCH] Fixing ban ip broadcast notification. --- .../src/com/earth2me/essentials/commands/Commandbanip.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java index 5bebfa593..757f9cf8b 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java @@ -49,7 +49,7 @@ public class Commandbanip extends EssentialsCommand final User onlineUser = ess.getUser(onlinePlayer); if (onlinePlayer == sender || onlineUser.isAuthorized("essentials.ban.notify")) { - sender.sendMessage(_("playerBanIpAddress", senderName, ipAddress)); + onlinePlayer.sendMessage(_("playerBanIpAddress", senderName, ipAddress)); } } }