It's 3AM so time for random commit titles: Longboi Johnson

This commit is contained in:
ZeroEpoch1969
2018-07-26 03:09:33 -07:00
parent 7baf5f322e
commit 575818ba69
2 changed files with 2 additions and 21 deletions

View File

@ -209,14 +209,7 @@ public class RankManager extends FreedomService
loginMsg = ChatUtils.colorize(admin.getLoginMessage());
}
}
if (loginMsg.contains("%name%"))
{
FUtil.bcastMsg(loginMsg.replace("%name%", player.getName()));
}
else
{
FUtil.bcastMsg(ChatColor.AQUA + player.getName() + " is " + loginMsg);
}
FUtil.bcastMsg(ChatColor.AQUA + (loginMsg.contains("%name%") ? "" : player.getName() + " is ") + FUtil.colorize(loginMsg).replace("%name%", player.getName()));
plugin.pl.getPlayer(player).setTag(display.getColoredTag());
if (isAdmin)