From 25b143b326b97bd892d47b45153db2d622ee1d6c Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 27 Jan 2025 20:07:28 -0600 Subject: [PATCH] Inventory load fix --- common/shareddb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index ce3b64d24..0674f222f 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -671,7 +671,7 @@ bool SharedDatabase::GetInventory(Client *c) EQ::InventoryProfile &inv = c->GetInv(); // Retrieve character inventory - auto results = InventoryRepository::GetWhere(*this, fmt::format("`charid` = '{}' ORDER BY `slotid`", char_id)); + auto results = InventoryRepository::GetWhere(*this, fmt::format("`character_id` = '{}' ORDER BY `slot_id`", char_id)); auto e_results = CharacterEvolvingItemsRepository::GetWhere( *this, fmt::format("`character_id` = '{}' AND `deleted_at` IS NULL", char_id) );