[+] Fix of FS-33

This commit is contained in:
abhiram 2021-02-28 21:28:20 +05:30
parent 6f66957b17
commit d6b74a76bb

View File

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