public static void Postfix(Inventory __instance) { if (__instance.m_name != "spellsBarInventory") { return; } SpellsBar.UpdateInventory(); }
public static void Recreate() { if (!configCooldownsEnabled.Value) { activeCooldowns.Clear(); } SpellsBar.RegisterKeybinds(); CreateCraftAllButton(null); CreateRankTabs(null); SpellsBar.ClearBindings(); SpellsBar.CreateHotkeysBar(null); SpellsBar.CreateInventoryBar(null); SpellsBar.UpdateInventory(); SpellsBar.UpdateVisibility(); }
public static void Postfix(Player __instance) { SpellsBar.UpdateInventory(); }