diff --git a/buildnumber.properties b/buildnumber.properties index 64f76847..75d81ed5 100644 --- a/buildnumber.properties +++ b/buildnumber.properties @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Sun Feb 15 19:11:50 CET 2015 -build.number=975 +#Mon Feb 16 15:45:38 CET 2015 +build.number=976 diff --git a/src/me/StevenLawson/TotalFreedomMod/TFM_PlayerRank.java b/src/me/StevenLawson/TotalFreedomMod/TFM_PlayerRank.java index 0c2b0163..68be911f 100644 --- a/src/me/StevenLawson/TotalFreedomMod/TFM_PlayerRank.java +++ b/src/me/StevenLawson/TotalFreedomMod/TFM_PlayerRank.java @@ -17,8 +17,8 @@ public enum TFM_PlayerRank SENIOR("a " + ChatColor.LIGHT_PURPLE + "Senior Admin", ChatColor.LIGHT_PURPLE + "[SrA]"), OWNER("the " + ChatColor.BLUE + "Owner", ChatColor.BLUE + "[Owner]"), CONSOLE("The " + ChatColor.DARK_PURPLE + "Console", ChatColor.DARK_PURPLE + "[Console]"); - private String loginMessage; - private String prefix; + private final String loginMessage; + private final String prefix; private TFM_PlayerRank(String loginMessage, String prefix) { @@ -70,7 +70,7 @@ public enum TFM_PlayerRank return DEVELOPER; } - final TFM_Admin entry = TFM_AdminList.getEntry((Player) sender); + final TFM_Admin entry = TFM_AdminList.getEntryByIp(TFM_Util.getIp((Player) sender)); final TFM_PlayerRank rank;