mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +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);
|
final User onlineUser = ess.getUser(onlinePlayer);
|
||||||
if (onlinePlayer == sender || onlineUser.isAuthorized("essentials.ban.notify"))
|
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