From 50b41effa65552e7b748162fe88eb3a0aa084887 Mon Sep 17 00:00:00 2001 From: Xephi59 Date: Mon, 3 Aug 2015 18:24:20 +0200 Subject: [PATCH] Fix conversion issue with lower case --- .../java/fr/xephi/authme/converter/ForceFlatToSqlite.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/converter/ForceFlatToSqlite.java b/src/main/java/fr/xephi/authme/converter/ForceFlatToSqlite.java index 44034a49c..f2bbd2047 100644 --- a/src/main/java/fr/xephi/authme/converter/ForceFlatToSqlite.java +++ b/src/main/java/fr/xephi/authme/converter/ForceFlatToSqlite.java @@ -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) {