private void GameLoop_UpdateTicked(object sender, UpdateTickedEventArgs e) { if (Game1.activeClickableMenu != null && Game1.activeClickableMenu is ItemBagMenu IBM) { IBM.Update(e); } }