From 0d1ce072dcbe186d941e76d0104607872458294e Mon Sep 17 00:00:00 2001 From: JeromSar Date: Mon, 11 May 2015 22:37:38 +0200 Subject: [PATCH] Reorder prefix assignments, fixes admin prefixes --- buildnumber.properties | 4 ++-- .../TotalFreedomMod/Listener/TFM_PlayerListener.java | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/buildnumber.properties b/buildnumber.properties index 5a12b141..c9f7e503 100644 --- a/buildnumber.properties +++ b/buildnumber.properties @@ -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 diff --git a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java index d5ce9cc8..c7a5355d 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java +++ b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java @@ -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 {