From f646a5122a0b21e0100597bde9f9f3b7535421ce Mon Sep 17 00:00:00 2001 From: Steven Lawson Date: Thu, 15 Aug 2013 17:44:09 -0400 Subject: [PATCH] Fixed wilee's glitch. --- .../TotalFreedomMod/Commands/Command_tban.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tban.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tban.java index f4cac168..e6836b81 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tban.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tban.java @@ -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; }