mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Resolve PlayerRank entries by IP. Resolves #415
This commit is contained in:
parent
eee8682959
commit
34ebb3586c
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user