public static void SwapItems(int a, int b)
        {
            Item backup = Inventory.Instance.ItemSlots[a];

            Inventory.Instance.ItemSlots[a] = Inventory.Instance.ItemSlots[b];
            Inventory.Instance.ItemSlots[b] = backup;
            CustomCrafting.UpdateIndex(a, b);
            CustomCrafting.UpdateIndex(b, a);
        }
 public static void Init()
 {
     instance           = new CustomCrafting();
     instance.rerolling = new Rerolling(instance);
     instance.reforging = new Reforging(instance);
 }
 public Reforging(CustomCrafting cc)
 {
     this.cc = cc;
 }
 public Rerolling(CustomCrafting cc)
 {
     this.cc = cc;
 }