From 8b03cf52e7b150648c161d9c839ac8a1f1505b51 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Fri, 8 Nov 2024 21:39:49 -0300 Subject: [PATCH] fix: add reserved range --- src/creatures/players/components/player_storage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/creatures/players/components/player_storage.cpp b/src/creatures/players/components/player_storage.cpp index d22d2e75138..392dda58da3 100644 --- a/src/creatures/players/components/player_storage.cpp +++ b/src/creatures/players/components/player_storage.cpp @@ -127,6 +127,7 @@ bool PlayerStorage::save() { }; auto insertModifiedStorageKeys = [playerGUID, playerName, modifiedKeys, storageMap]() mutable { + getReservedRange(); if (!modifiedKeys.empty()) { DBInsert storageQuery("INSERT INTO `player_storage` (`player_id`, `key`, `value`) VALUES "); storageQuery.upsert({ "value" });