Merge branch 'main' into websockets

This commit is contained in:
Aaron Kimbre
2025-04-02 09:06:48 -05:00
12 changed files with 132 additions and 111 deletions

View File

@@ -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) {