let's meme?

This commit is contained in:
Lemon
2018-07-26 14:37:13 +05:00
parent 9360148426
commit 815211e454
4 changed files with 68 additions and 5 deletions

View File

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