Add trade zones

This commit is contained in:
RedSparr0w
2019-11-23 14:32:16 +13:00
parent 2683ab888b
commit 2b93d72a15
6 changed files with 26 additions and 2 deletions
@@ -472,7 +472,6 @@ public class ShopAssistant {
boolean isStackable = ItemDefinitions.getDef()[itemID].isStackable;
int freeSlots = player.getItemAssistant().freeSlots();
int storeQty = ShopHandler.getStock(shopID, itemID);
System.out.println("Item " + itemID + " stock = " + storeQty);
if (amount > 0) {
if (storeQty <= 0) {
// none in stock, or not sold here