mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 19:46:42 +00:00
require ranks to be displayed in login messgaes
This commit is contained in:
@ -218,7 +218,7 @@ public class RankManager extends FreedomService
|
||||
Admin admin = plugin.al.getAdmin(player);
|
||||
if (admin.hasLoginMessage())
|
||||
{
|
||||
loginMsg = ChatUtils.colorize(admin.getLoginMessage());
|
||||
loginMsg = ChatUtils.colorize(admin.getLoginMessage()).replace("%rank%", admin.getRank().getName()).replace("%coloredrank%", admin.getRank().getColoredName());
|
||||
}
|
||||
}
|
||||
FUtil.bcastMsg(ChatColor.AQUA + (loginMsg.contains("%name%") ? "" : player.getName() + " is ") + FUtil.colorize(loginMsg).replace("%name%", player.getName()));
|
||||
|
Reference in New Issue
Block a user