mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 18:24:12 +00:00
fix: mail claiming item (#1758)
* Update build-and-test.yml * Update build-and-test.yml * Update build-and-test.yml * Update build-and-test.yml * Update build-and-test.yml * Update build-and-test.yml * specify up to 3.31 * fix: mail claiming item tested that I can claim an item without an error
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user