mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Fixed broken format for /gadmin ipban.
This commit is contained in:
parent
6ad1187eef
commit
b3c28d33f2
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user