mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 02:24:58 +00:00
Admin ranks now show up before developer rank...
This commit is contained in:
parent
0203f05ad0
commit
0d53e91176
1 changed files with 3 additions and 5 deletions
|
@ -103,10 +103,6 @@ public enum PlayerRank implements Comparator<PlayerRank>, Comparable<PlayerRank>
|
||||||
return IMPOSTOR;
|
return IMPOSTOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DEVELOPERS.contains(sender.getName()))
|
|
||||||
{
|
|
||||||
return DEVELOPER;
|
|
||||||
}
|
|
||||||
|
|
||||||
final Admin entry = AdminList.getEntryByIp(Utilities.getIp((Player) sender));
|
final Admin entry = AdminList.getEntryByIp(Utilities.getIp((Player) sender));
|
||||||
|
|
||||||
|
@ -134,7 +130,9 @@ public enum PlayerRank implements Comparator<PlayerRank>, Comparable<PlayerRank>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (sender.isOp())
|
if (DEVELOPERS.contains(sender.getName())) {
|
||||||
|
return DEVELOPER;
|
||||||
|
} else if (sender.isOp())
|
||||||
{
|
{
|
||||||
rank = OP;
|
rank = OP;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue