mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-19 13:55:00 +00:00
Merge pull request #253 from PacksGamingHD/patch-2
Fixed compile error.
This commit is contained in:
commit
2c92b0874e
@ -77,7 +77,7 @@ public class Command_gtfo extends TFM_Command
|
|||||||
|
|
||||||
// ban IP address:
|
// ban IP address:
|
||||||
String ip = TFM_Util.getFuzzyIp(player.getAddress().getAddress().getHostAddress());
|
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));
|
TFM_BanManager.addIpBan(new TFM_Ban(ip, player.getName(), sender.getName(), null, reason));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user