mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
Fix conversion issue with lower case
This commit is contained in:
parent
f019be4833
commit
50b41effa6
@ -21,8 +21,10 @@ public class ForceFlatToSqlite implements Converter {
|
||||
DataSource sqlite = null;
|
||||
try {
|
||||
sqlite = new SQLite();
|
||||
for (PlayerAuth auth : data.getAllAuths())
|
||||
for (PlayerAuth auth : data.getAllAuths()) {
|
||||
auth.setRealName("Player");
|
||||
sqlite.saveAuth(auth);
|
||||
}
|
||||
plugin.getSettings().setValue("DataSource.backend", "sqlite");
|
||||
ConsoleLogger.info("Database successfully converted to sqlite !");
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user