use player_uuid instead of uuid
This commit is contained in:
1 parent
a287e11d84
commit
5cd8f5c894
1 file changed
+1
-1
@@ -142,7 +142,7 @@ public class Database {
|
||||
public void removeLinkedAccount(DiscordLinkPlayer player) {
|
||||
try {
|
||||
PreparedStatement statement = DatabaseConnection.getConnection()
|
||||
.prepareStatement("DELETE FROM linked_accounts WHERE discord_id = ? OR uuid = ?");
|
||||
.prepareStatement("DELETE FROM linked_accounts WHERE discord_id = ? OR player_uuid = ?");
|
||||
statement.setLong(1, player.getUserId());
|
||||
statement.setString(2, player.getUuid().toString());
|
||||
statement.executeUpdate();
|
||||
|
||||
Reference in new issue
Block a user