Reorder prefix assignments, fixes admin prefixes

This commit is contained in:
JeromSar 2015-05-11 22:37:38 +02:00
parent 887a5c6b16
commit 0d1ce072dc
2 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon May 11 22:19:56 CEST 2015
build.number=1000
#Mon May 11 22:29:09 CEST 2015
build.number=1001

View File

@ -855,20 +855,20 @@ public class TFM_PlayerListener implements Listener
}
else if (TFM_AdminList.isSuperAdmin(player))
{
if (TFM_AdminList.isTelnetAdmin(player, true))
if (TFM_ConfigEntry.SERVER_OWNERS.getList().contains(name))
{
name = ChatColor.DARK_GREEN + name;
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
name = ChatColor.BLUE + name;
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
}
else if (TFM_AdminList.isSeniorAdmin(player))
{
name = ChatColor.LIGHT_PURPLE + name;
TFM_PlayerData.getPlayerData(player).setTag("&8[&dSenior Admin&8]");
}
else if (TFM_ConfigEntry.SERVER_OWNERS.getList().contains(name))
else if (TFM_AdminList.isTelnetAdmin(player, true))
{
name = ChatColor.BLUE + name;
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
name = ChatColor.DARK_GREEN + name;
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
}
else
{