From 7f6a645dd7ceea7502575a18ee05152ffdf1893c Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Sat, 1 Jun 2024 23:16:28 +0700 Subject: [PATCH] [FIX] Compile fix --- .../gravit/launchserver/auth/core/MySQLCoreProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/MySQLCoreProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/MySQLCoreProvider.java index 84c0ce3c..af1045ca 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/MySQLCoreProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/MySQLCoreProvider.java @@ -72,7 +72,7 @@ protected String makeUserCols() { @Override protected MySQLUser constructUser(ResultSet set) throws SQLException { return set.next() ? new MySQLUser(UUID.fromString(set.getString(uuidColumn)), set.getString(usernameColumn), - set.getString(accessTokenColumn), set.getString(serverIDColumn), set.getString(passwordColumn), requestPermissions(set.getString(uuidColumn)), set.getLong(hardwareIdColumn)) : null; + set.getString(accessTokenColumn), set.getString(serverIDColumn), set.getString(passwordColumn), set.getLong(hardwareIdColumn)) : null; } private MySQLUserHardware fetchHardwareInfo(ResultSet set) throws SQLException, IOException { @@ -336,8 +336,8 @@ public String toString() { public static class MySQLUser extends SQLUser { protected long hwidId; - public MySQLUser(UUID uuid, String username, String accessToken, String serverId, String password, ClientPermissions permissions, long hwidId) { - super(uuid, username, accessToken, serverId, password, permissions); + public MySQLUser(UUID uuid, String username, String accessToken, String serverId, String password, long hwidId) { + super(uuid, username, accessToken, serverId, password); this.hwidId = hwidId; }