mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
[+] Fix codacy issue
This commit is contained in:
parent
c29b312101
commit
85c35f25a3
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,7 +25,6 @@ manifest.mf
|
||||
/.idea/workspace.xml
|
||||
/.idea/uiDesigner.xml
|
||||
/.idea/libraries
|
||||
/.idea
|
||||
*.iml
|
||||
|
||||
# Maven excludes
|
||||
|
@ -240,13 +240,8 @@ public class AdminList extends FreedomService
|
||||
|
||||
public boolean isVerifiedAdmin(Player player)
|
||||
{
|
||||
// Fix of issue: FS-33
|
||||
if(verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
// Fix of issue FS-33
|
||||
return !verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && !verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player));
|
||||
}
|
||||
|
||||
public boolean isIdentityMatched(Player player)
|
||||
|
Loading…
Reference in New Issue
Block a user