mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-23 04:18:41 +00:00
Fix a problem with potions and quantity
This commit is contained in:
+1
-3
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user