mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 08:15:18 +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!
|
#Build Number for ANT. Do not edit!
|
||||||
#Mon May 11 22:19:56 CEST 2015
|
#Mon May 11 22:29:09 CEST 2015
|
||||||
build.number=1000
|
build.number=1001
|
||||||
|
|
|
@ -855,20 +855,20 @@ public class TFM_PlayerListener implements Listener
|
||||||
}
|
}
|
||||||
else if (TFM_AdminList.isSuperAdmin(player))
|
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;
|
name = ChatColor.BLUE + name;
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
|
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
|
||||||
}
|
}
|
||||||
else if (TFM_AdminList.isSeniorAdmin(player))
|
else if (TFM_AdminList.isSeniorAdmin(player))
|
||||||
{
|
{
|
||||||
name = ChatColor.LIGHT_PURPLE + name;
|
name = ChatColor.LIGHT_PURPLE + name;
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&dSenior Admin&8]");
|
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;
|
name = ChatColor.DARK_GREEN + name;
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
|
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue