mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-08 23:51:10 +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() {
|
void AttachmentCollectRequest::Handle() {
|
||||||
AttachmentCollectResponse response;
|
AttachmentCollectResponse response;
|
||||||
|
response.mailID = mailID;
|
||||||
auto inv = player->GetComponent<InventoryComponent>();
|
auto inv = player->GetComponent<InventoryComponent>();
|
||||||
|
|
||||||
if (mailID > 0 && playerID == player->GetObjectID() && inv) {
|
if (mailID > 0 && playerID == player->GetObjectID() && inv) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user