Tested to be working, but made some minor changes.

This commit is contained in:
ZeroEpoch1969
2018-03-24 18:41:51 -07:00
parent 01223d44ef
commit 88f89d7e67
8 changed files with 201 additions and 100 deletions

View File

@ -162,7 +162,8 @@ public class RankManager extends FreedomService
if (isImposter)
{
FUtil.bcastMsg(ChatColor.AQUA + player.getName() + " is " + Rank.IMPOSTOR.getColoredLoginMessage());
if (plugin.al.isAdminImpostor(player)) {
if (plugin.al.isAdminImpostor(player))
{
FUtil.bcastMsg("Warning: " + player.getName() + " has been flagged as an impostor and has been frozen!", ChatColor.RED);
}
String displayName = Rank.IMPOSTOR.getColor() + player.getName();