Skip to content

Commit

Permalink
Merge branch 'master' into maps-rework
Browse files Browse the repository at this point in the history
  • Loading branch information
solaluset authored Dec 30, 2024
2 parents 12ef3c0 + 7ff10b3 commit 7a24105
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ public void updateSnapshot(@NotNull User user, @NotNull DataSnapshot.Packed data
try (PreparedStatement statement = connection.prepareStatement(formatStatementTables("""
UPDATE %user_data_table%
SET save_cause=?,pinned=?,data=?
WHERE player_uuid=? AND version_uuid=?
LIMIT 1;"""))) {
WHERE player_uuid=? AND version_uuid=?;
"""))) {
statement.setString(1, data.getSaveCause().name());
statement.setBoolean(2, data.isPinned());
statement.setBytes(3, data.asBytes(plugin));
Expand Down

0 comments on commit 7a24105

Please sign in to comment.