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