mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Fixing ban ip broadcast notification.
This commit is contained in:
parent
664fe18bbe
commit
895c14430a
@ -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 New Issue
Block a user