private static void Game_OnProcessPacket(GamePacketEventArgs args) { if (args.PacketData.GetPacketId().Equals(BuyItemAns)) { Utility.DelayAction.Add(300, UpdateInventory); } }