Add "Reason: " text to kick.

This commit is contained in:
Steven Lawson 2013-07-30 21:47:29 -04:00
parent f21c7aa5c5
commit a4e9bc76a3

View File

@ -84,7 +84,7 @@ public class Command_gtfo extends TFM_Command
TFM_ServerInterface.banUsername(p.getName(), ban_reason, null, null);
// kick Player:
p.kickPlayer(ChatColor.RED + "GTFO" + (ban_reason != null ? ("\n" + ChatColor.YELLOW + ban_reason) : ""));
p.kickPlayer(ChatColor.RED + "GTFO" + (ban_reason != null ? ("\nReason: " + ChatColor.YELLOW + ban_reason) : ""));
return true;
}