mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Merge pull request #294 from Obi2kanobi/contributing
Format GTFO reason broadcast. Fixes #293
This commit is contained in:
commit
eaa23985bd
@ -80,9 +80,9 @@ public class Command_gtfo extends TFM_Command
|
||||
final StringBuilder bcast = new StringBuilder("Banning: ").append(player.getName()).append(", IP: ").append(ip);
|
||||
if (reason != null)
|
||||
{
|
||||
bcast.append(ChatColor.RED).append(" - Reason: ").append(ChatColor.YELLOW).append(reason);
|
||||
bcast.append(" - Reason: ").append(ChatColor.YELLOW).append(reason);
|
||||
}
|
||||
TFM_Util.bcastMsg(bcast.toString());
|
||||
TFM_Util.bcastMsg(bcast.toString(), ChatColor.RED);
|
||||
|
||||
TFM_BanManager.addIpBan(new TFM_Ban(ip, player.getName(), sender.getName(), null, reason));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user