Open leevccc opened 2 hours ago
ShopDialog.java
in case Buy
if (!im.canAddItem(itemId, count)) {
and
final Item boughtItem = ii.createItem(user.getNextItemSn(), rechargeable ? ii.getSlotMax() : count);
count should be replace of quantity
quantity
int quantity = count * shopItem.getQuantity();
for example
set a item sell x2000 for 1 mesos
player buy 1 (count)
he cose 1mesos, but get only 1 (count), actually, he should get 1 x 2000
ShopDialog.java
in case Buy
if (!im.canAddItem(itemId, count)) {
and
final Item boughtItem = ii.createItem(user.getNextItemSn(), rechargeable ? ii.getSlotMax() : count);
count should be replace of
quantity
int quantity = count * shopItem.getQuantity();