summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/account-server/accounthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index 90d1092f..32b33501 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -291,7 +291,7 @@ void AccountHandler::sendCharacterData(AccountClient &client,
for (int itemSlot : equipData)
{
const auto &it = inventoryData.find(itemSlot);
- charInfo.writeInt16(itemSlot);
+ charInfo.writeInt16(it->second.equipmentSlot);
charInfo.writeInt16(it->second.itemId);
}