Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into enums
This commit is contained in:
@@ -130,7 +130,7 @@ public final class Utils {
|
||||
|
||||
// TODO: Move to a Manager
|
||||
public static boolean checkAuth(Player player) {
|
||||
if (player == null || Utils.isUnrestricted(player)) {
|
||||
if (player == null || Utils.isUnrestricted(player) || Utils.isNPC(player)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user