diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AbstractSQLCoreProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AbstractSQLCoreProvider.java index 4e732542..bdb4a4c5 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AbstractSQLCoreProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AbstractSQLCoreProvider.java @@ -295,7 +295,9 @@ private SQLUser queryUser(String sql, String value) throws SQLException { user = constructUser(set); } } - user.permissions = requestPermissions(user.uuid.toString()); + if(user != null) { + user.permissions = requestPermissions(user.uuid.toString()); + } return user; }