mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-08 07:13:51 +00:00
[Merchants] Fix issue where an item purchased with 1 charges actually is bought with 0 charges
Co-authored-by: ProducerZekServer <go@away.com>
This commit is contained in:
parent
5d92d484a1
commit
7e85224202
@ -12997,7 +12997,7 @@ void Client::Handle_OP_ShopPlayerBuy(const EQApplicationPacket *app)
|
||||
int16 charges = 0;
|
||||
if (item->Stackable || tmpmer_used)
|
||||
charges = mp->quantity;
|
||||
else if ( item->MaxCharges > 1)
|
||||
else if ( item->MaxCharges >= 1)
|
||||
charges = item->MaxCharges;
|
||||
|
||||
EQ::ItemInstance* inst = database.CreateItem(item, charges);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user