diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/FastLoginCore.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/FastLoginCore.java index bc12cf5c7..bc93c7eaa 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/FastLoginCore.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/FastLoginCore.java @@ -57,6 +57,7 @@ import java.nio.file.Path; import java.util.Collection; import java.util.HashSet; +import java.util.Locale; import java.util.Map; import java.util.Objects; import java.util.Set; @@ -220,7 +221,7 @@ public String getMessage(String key) { } public boolean setupDatabase() { - String type = config.getString("driver"); + String type = config.getString("driver").toLowerCase(Locale.ENGLISH); HikariConfig databaseConfig = new HikariConfig(); String database = config.getString("database");