From 361c4a2e1fb90497613fa43ad91385c413bc238d Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Wed, 6 Nov 2024 02:24:03 -0300 Subject: [PATCH] fix: logic error --- src/io/functions/iologindata_load_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/functions/iologindata_load_player.cpp b/src/io/functions/iologindata_load_player.cpp index 2a0b140ef91..f6a03edd26d 100644 --- a/src/io/functions/iologindata_load_player.cpp +++ b/src/io/functions/iologindata_load_player.cpp @@ -679,7 +679,7 @@ void IOLoginDataLoad::loadPlayerInboxItems(const std::shared_ptr &player continue; } - const auto &container = item->getContainer(); + const auto &container = inboxIt->second.first->getContainer(); if (!container) { continue; }