[Inventory] Fix cursor bag saving to invalid slot_ids (#4640)

This commit is contained in:
nytmyr 2025-02-04 00:36:07 -06:00 committed by GitHub
parent 49917bfb13
commit f1852e16b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,6 +222,10 @@ bool SharedDatabase::SaveCursor(
if (!SaveInventory(char_id, inst, use_slot)) {
return false;
}
if (i == EQ::invslot::slotCursor) {
i = EQ::invbag::CURSOR_BAG_BEGIN;
}
}
return true;