mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-08 15:41:21 +00:00
fix: mail claiming item
tested that I can claim an item without an error
This commit is contained in:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user