My shops say the item prices but they wont take the gp and it gives the item so its f ree
Its like there not taking the gp or something
happens in multiple shops,


any idea what to fix?

I added the shopsI want to use GP to here, cant buy any item in thet shop

Code:
public boolean buyItem(int itemID, int fromSlot, int amount) {

		if (ShopHandler.ShopItems[c.getVariables().myShopId][fromSlot] - 1 != itemID
				&& c.getVariables().myShopId != 14) {
			return false;
		}
		if (c.getVariables().myShopId == 14) {
			skillBuy(itemID);
			return false;
		} else if (c.getVariables().myShopId == 3) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 8) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 3) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 4) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 5) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 11) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 6) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 7) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 13) {
			handleOtherShop(itemID);
			return false;	
		} else if (c.getVariables().myShopId == 72) {
			handleOtherShop(itemID);
			return false;	
		} else if (c.getVariables().myShopId == 71) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 69) {
			handleOtherShop(itemID);
			return false;
		} else if (c.getVariables().myShopId == 70) {
			handleOtherShop(itemID);
			return false;
		}