mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 20:11:21 +02:00
Fixing ban ip broadcast notification.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user