fix: mail claiming item

tested that I can claim an item without an error
This commit is contained in:
David Markowitz 2025-04-01 22:08:53 -07:00
parent c490d45fe0
commit 6469147517

@ -181,6 +181,7 @@ namespace Mail {
void AttachmentCollectRequest::Handle() {
AttachmentCollectResponse response;
response.mailID = mailID;
auto inv = player->GetComponent<InventoryComponent>();
if (mailID > 0 && playerID == player->GetObjectID() && inv) {