[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:
GangstaandProducerZekServer authored and GitHub committed 2021-07-27 01:03:17 -05:00
1 parent 5d92d484a1
commit 7e85224202
1 file changed
+1 -1
+1 -1
View File
@@ -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);