From 7e85224202e313e0de876d8458ab32ab29daaa18 Mon Sep 17 00:00:00 2001 From: Gangsta <48196367+GangstaEQ@users.noreply.github.com> Date: Mon, 26 Jul 2021 23:03:17 -0700 Subject: [PATCH] [Merchants] Fix issue where an item purchased with 1 charges actually is bought with 0 charges Co-authored-by: ProducerZekServer --- zone/client_packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 92b3080c7..41d66705c 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -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);