mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 02:54:57 +00:00
Merge pull request #294 from Obi2kanobi/contributing
Format GTFO reason broadcast. Fixes #293
This commit is contained in:
commit
eaa23985bd
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue