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;
|
DataSource sqlite = null;
|
||||||
try {
|
try {
|
||||||
sqlite = new SQLite();
|
sqlite = new SQLite();
|
||||||
for (PlayerAuth auth : data.getAllAuths())
|
for (PlayerAuth auth : data.getAllAuths()) {
|
||||||
|
auth.setRealName("Player");
|
||||||
sqlite.saveAuth(auth);
|
sqlite.saveAuth(auth);
|
||||||
|
}
|
||||||
plugin.getSettings().setValue("DataSource.backend", "sqlite");
|
plugin.getSettings().setValue("DataSource.backend", "sqlite");
|
||||||
ConsoleLogger.info("Database successfully converted to sqlite !");
|
ConsoleLogger.info("Database successfully converted to sqlite !");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user