mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fixing ban ip broadcast notification.
This commit is contained in:
parent
664fe18bbe
commit
895c14430a
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue