mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-05 20:22:28 +00:00
Fix a problem with potions and quantity
This commit is contained in:
parent
50a3a26ccc
commit
07a972dc46
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user