mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-11-19 01:40:22 +00:00
Fixed wilee's glitch.
This commit is contained in:
parent
86ee0e96d2
commit
f646a5122a
1 changed files with 3 additions and 4 deletions
|
@ -30,10 +30,9 @@ public class Command_tban extends TFM_Command
|
|||
return true;
|
||||
}
|
||||
|
||||
TFM_Util.adminAction(sender.getName(), "Tempbanning: " + player.getName() " for 5 minutes.", true);
|
||||
TFM_ServerInterface.banUsername(player.getName(), ChatColor.RED + "You have been temporarily banned for 5 minutes",
|
||||
sender.getName(), TFM_Util.parseDateOffset("5m"));
|
||||
player.kickPlayer(ChatColor.RED + "\nYou have been temporarily banned for five minutes. Please read totalfreedom.me for more info.");
|
||||
TFM_Util.adminAction(sender.getName(), "Tempbanning: " + player.getName() + " for 5 minutes.", true);
|
||||
TFM_ServerInterface.banUsername(player.getName(), ChatColor.RED + "You have been temporarily banned for 5 minutes.", sender.getName(), TFM_Util.parseDateOffset("5m"));
|
||||
player.kickPlayer(ChatColor.RED + "You have been temporarily banned for five minutes. Please read totalfreedom.me for more info.");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue