Workaround for admin shop buylists without adena.

This commit is contained in:
MobiusDevelopment
2022-12-14 22:05:41 +00:00
parent b20800bf21
commit e7fb57065d
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ public class ExBuySellList extends AbstractItemPacket
_type = BUY_SELL_LIST_BUY;
_listId = list.getListId();
_list = list.getProducts();
_money = player.getAdena();
_money = player.isGM() && (player.getAdena() == 0) && (list.getNpcsAllowed() == null) ? 1000000000 : player.getAdena();
_inventorySlots = player.getInventory().getNonQuestSize();
_castleTaxRate = castleTaxRate;
}