aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-12-25 03:48:28 +0300
committerPetr Ilin <hevav@hevav.dev>2022-12-25 03:48:28 +0300
commit9acad77c00e62a2a6cc7e4a6a52ca35f82e7b94c (patch)
tree8c555b1c65893c7436fe9179f639dc5a1f47d1d3
parent9b1d4b995d32278328311fafb61aa0dcaaef82db (diff)
downloadLimboAuth-9acad77c00e62a2a6cc7e4a6a52ca35f82e7b94c.tar.gz
LimboAuth-9acad77c00e62a2a6cc7e4a6a52ca35f82e7b94c.tar.bz2
LimboAuth-9acad77c00e62a2a6cc7e4a6a52ca35f82e7b94c.zip
Connect to ORM fix
-rw-r--r--src/main/java/net/elytrium/limboauth/dependencies/DatabaseLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/elytrium/limboauth/dependencies/DatabaseLibrary.java b/src/main/java/net/elytrium/limboauth/dependencies/DatabaseLibrary.java
index 122db78..26b3cb2 100644
--- a/src/main/java/net/elytrium/limboauth/dependencies/DatabaseLibrary.java
+++ b/src/main/java/net/elytrium/limboauth/dependencies/DatabaseLibrary.java
@@ -114,7 +114,7 @@ public enum DatabaseLibrary {
addPath.setAccessible(true);
addPath.invoke(currentClassLoader, Path.of(baseLibraryURL.toURI()));
- return new JdbcSingleConnectionSource(jdbc, this.connect(currentClassLoader, dir, jdbc, hostname, user, password));
+ return new JdbcSingleConnectionSource(jdbc, this.connect(currentClassLoader, dir, jdbc, user, password));
}
private static Connection fromDriver(Class<?> connectionClass, String jdbc, String user, String password, boolean register) throws Exception {