Fix loading of backpacks (regression introduced with 8fe2365929)

This commit is contained in:
GeorgH93 2023-06-28 00:49:55 +02:00
parent c119874d09
commit 01706e4ae4
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -250,7 +250,7 @@ protected void loadBackpack(final OfflinePlayer player, final Callback<Backpack>
try(Connection conn = getConnection(); PreparedStatement ps = conn.prepareStatement(queryGetBP))
{
final String playerUUID = getPlayerFormattedUUID(player);
ps.setString(1, fieldPlayerUUID);
ps.setString(1, playerUUID);
final int bpID, version;
final byte[] data;
try(ResultSet rs = ps.executeQuery())