mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:54:57 +00:00
Reorder prefix assignments, fixes admin prefixes
This commit is contained in:
parent
887a5c6b16
commit
0d1ce072dc
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue