Fixing ban ip broadcast notification.

This commit is contained in:
KHobbits 2013-03-11 10:33:59 +00:00
parent 664fe18bbe
commit 895c14430a

View File

@ -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));
}
}
}