diff --git a/.gitignore b/.gitignore index 6f537952..c0ab2daf 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,6 @@ manifest.mf /.idea/workspace.xml /.idea/uiDesigner.xml /.idea/libraries -/.idea *.iml # Maven excludes diff --git a/src/main/java/me/totalfreedom/totalfreedommod/admin/AdminList.java b/src/main/java/me/totalfreedom/totalfreedommod/admin/AdminList.java index b7e81c14..c2b1f458 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/admin/AdminList.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/admin/AdminList.java @@ -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)