Fixed broken format for /gadmin ipban.

This commit is contained in:
StevenLawson 2014-08-15 22:53:57 -04:00
parent 6ad1187eef
commit b3c28d33f2

View File

@ -137,7 +137,7 @@ public class Command_gadmin extends TFM_Command
{
ip = String.format("%s.%s.*.*", ip_parts[0], ip_parts[1]);
}
TFM_Util.adminAction(sender.getName(), String.format("Banning IP: %s.", target.getName(), ip), true);
TFM_Util.adminAction(sender.getName(), String.format("Banning IP: %s.", ip), true);
TFM_BanManager.addIpBan(target);
target.kickPlayer("IP address banned by Administrator.");