mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-01 05:57:09 +00:00
Remove indefinite wording for bans with expiry
This commit is contained in:
parent
3ac893db50
commit
4602e2246b
@ -122,7 +122,9 @@ public class IndefiniteBanList extends FreedomService
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String kickMessage = ChatColor.RED + "Your " + bannedBy + " is indefinitely banned from this server.";
|
String kickMessage = ChatColor.RED + "Your " + bannedBy + " is "
|
||||||
|
+ (ban.hasExpiry() ? "" : "indefinitely ")
|
||||||
|
+ "banned from this server.";
|
||||||
String reason = ban.getReason();
|
String reason = ban.getReason();
|
||||||
if (!Strings.isNullOrEmpty(reason))
|
if (!Strings.isNullOrEmpty(reason))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user