mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Check for uuids instead of usernames when loading a player
This commit is contained in:
parent
80754b4426
commit
c5e1a735f9
@ -473,8 +473,8 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
+ "JOIN " + tablePrefix + "experience e ON (u.id = e.user_id) "
|
||||
+ "JOIN " + tablePrefix + "cooldowns c ON (u.id = c.user_id) "
|
||||
+ "JOIN " + tablePrefix + "huds h ON (u.id = h.user_id) "
|
||||
+ "WHERE u.user = ?");
|
||||
statement.setString(1, playerName);
|
||||
+ "WHERE u.UUID = ?");
|
||||
statement.setString(1, uuid);
|
||||
|
||||
ResultSet result = statement.executeQuery();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user