From 927560ad75f70c602aba75f67bf40e06f9b1bdd2 Mon Sep 17 00:00:00 2001 From: PacksGamingHD Date: Fri, 1 Aug 2014 23:01:04 -0700 Subject: [PATCH] TotalFreedomMod won't compile like that. --- src/me/StevenLawson/TotalFreedomMod/Commands/Command_gtfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_gtfo.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_gtfo.java index 37b21c82..e0543127 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_gtfo.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_gtfo.java @@ -77,7 +77,7 @@ public class Command_gtfo extends TFM_Command // ban IP address: String ip = TFM_Util.getFuzzyIp(player.getAddress().getAddress().getHostAddress()); - TFM_Util.bcastMsg(String.format("Banning: %s, IP: %s.", player.getName(), ip), ChatColor.RED + (reason != null ? ("Reason: " + ChatColor.YELLOW + reason) : "")); + TFM_Util.bcastMsg(String.format("Banning: %s, IP: %s.", player.getName(), ip) + ChatColor.RED + (reason != null ? ("Reason: " + ChatColor.YELLOW + reason) : "")); TFM_BanManager.addIpBan(new TFM_Ban(ip, player.getName(), sender.getName(), null, reason));