Fix a problem with potions and quantity

This commit is contained in:
Mitch Freeman 2025-09-03 18:15:57 -03:00
parent 50a3a26ccc
commit 07a972dc46

View File

@ -386,9 +386,7 @@ void Client::DoParcelSend(const Parcel_Struct *parcel_in)
uint32 quantity = 1;
if (inst->IsStackable()) {
quantity = parcel_in->quantity;
}
if (inst->GetItem()->MaxCharges > 0) {
} else if (inst->GetItem()->MaxCharges > 0) {
quantity = inst->GetCharges();
}