[+] Fix codacy issue

This commit is contained in:
abhiram 2021-03-03 06:47:22 +05:30
parent c29b312101
commit 85c35f25a3
2 changed files with 2 additions and 8 deletions

1
.gitignore vendored
View File

@ -25,7 +25,6 @@ manifest.mf
/.idea/workspace.xml /.idea/workspace.xml
/.idea/uiDesigner.xml /.idea/uiDesigner.xml
/.idea/libraries /.idea/libraries
/.idea
*.iml *.iml
# Maven excludes # Maven excludes

View File

@ -240,13 +240,8 @@ public class AdminList extends FreedomService
public boolean isVerifiedAdmin(Player player) public boolean isVerifiedAdmin(Player player)
{ {
// Fix of issue: FS-33 // Fix of issue FS-33
if(verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player))) return !verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && !verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player));
{
return false;
}
return true;
} }
public boolean isIdentityMatched(Player player) public boolean isIdentityMatched(Player player)