I am trying to redo my PvPtools with adding custom states but i am having a little problem with buying item via string , boolen.
i am trying to use my settings bool to buy the item if the settings is true. but i am not understanding how to get it to buy the item while using a boolen.
error : parameter 'number' of 'Vendor.BuyItem(string, int)', i understand i need a string + int amount but how do i get it to check before buying using boolen?
public static class AllianceGems
{
private static Dictionary<string, bool> Mains = new Dictionary<string, bool>
{
{ "Majestic Zircon", true},
};
public static void BuyingGems()
{
foreach (var item in Mains)
{
Vendor.BuyItem(item);
}
}
}