Add trade zones

This commit is contained in:
RedSparr0w committed 2019-11-23 14:32:16 +13:00
1 parent 2683ab888b
commit 2b93d72a15
6 files changed
+26 -2

No files matched your search

@@ -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