Merge pull request #81 from Valorith/copilot/sub-pr-80

Remove duplicate cpc.quantity assignment in parcels.cpp
This commit is contained in:
Vayle 2026-03-19 22:38:07 -04:00 committed by GitHub
commit cad795b16c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -453,7 +453,6 @@ void Client::DoParcelSend(const Parcel_Struct *parcel_in)
cpc.quantity = item->GetCharges() >= 0 ? item->GetCharges() : 1;
cpc.evolve_amount = item->GetEvolveCurrentAmount();
cpc.quantity = item->GetCharges() >= 0 ? item->GetCharges() : 1;
all_entries.push_back(cpc);
}
CharacterParcelsContainersRepository::InsertMany(database, all_entries);