mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-27 11:37:35 +01:00
Fix save user query
This commit is contained in:
parent
3c83c31e9f
commit
0e449cdd7a
@ -193,8 +193,8 @@ abstract class SQLDatastore extends Datastore {
|
|||||||
@Override
|
@Override
|
||||||
void onRun(PreparedStatement preparedStatement) throws SQLException {
|
void onRun(PreparedStatement preparedStatement) throws SQLException {
|
||||||
preparedStatement.setString(1, user.getName());
|
preparedStatement.setString(1, user.getName());
|
||||||
preparedStatement.setString(2, gson.toJson(user.getNodes()));
|
preparedStatement.setString(2, user.getPrimaryGroup());
|
||||||
preparedStatement.setString(3, user.getPrimaryGroup());
|
preparedStatement.setString(3, gson.toJson(user.getNodes()));
|
||||||
preparedStatement.setString(4, user.getUuid().toString());
|
preparedStatement.setString(4, user.getUuid().toString());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user