mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Add "Reason: " text to kick.
This commit is contained in:
parent
f21c7aa5c5
commit
a4e9bc76a3
@ -84,7 +84,7 @@ public class Command_gtfo extends TFM_Command
|
|||||||
TFM_ServerInterface.banUsername(p.getName(), ban_reason, null, null);
|
TFM_ServerInterface.banUsername(p.getName(), ban_reason, null, null);
|
||||||
|
|
||||||
// kick Player:
|
// 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user