From a3309a06a97e34a3eac6a5179e4b3020ae25ca11 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:44:41 -0500 Subject: [PATCH] Update shareddb.cpp --- common/shareddb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index 8ea849d7f..ce3b64d24 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -449,7 +449,7 @@ bool SharedDatabase::DeleteSharedBankSlot(uint32 char_id, int16 slot_id) return SharedbankRepository::DeleteWhere( *this, fmt::format( - "`account_id` = {} AND `slotid` BETWEEN {} AND {}", + "`account_id` = {} AND `slot_id` BETWEEN {} AND {}", account_id, base_slot_id, base_slot_id + (EQ::invbag::SLOT_COUNT - 1)