diff --git a/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs b/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs index 66bc3450..828d5d14 100644 --- a/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs +++ b/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs @@ -27,6 +27,14 @@ namespace ServerManagerTool.Plugin.Discord.Windows { ResourceUtils.UpdateResourceDictionary(this, plugin.LanguageCode); } + catch (MissingFieldException) + { + // do nothing, most likely they are using an older version of a server manager + } + catch (MissingMethodException) + { + // do nothing, most likely they are using an older version of a server manager + } catch (Exception) { // do nothing, most likely they are using an older version of a server manager diff --git a/src/Plugin.Discord/Windows/ConfigWindow.xaml.cs b/src/Plugin.Discord/Windows/ConfigWindow.xaml.cs index 829b8386..263d3b4b 100644 --- a/src/Plugin.Discord/Windows/ConfigWindow.xaml.cs +++ b/src/Plugin.Discord/Windows/ConfigWindow.xaml.cs @@ -25,6 +25,14 @@ namespace ServerManagerTool.Plugin.Discord.Windows { ResourceUtils.UpdateResourceDictionary(this, plugin.LanguageCode); } + catch (MissingFieldException) + { + // do nothing, most likely they are using an older version of a server manager + } + catch (MissingMethodException) + { + // do nothing, most likely they are using an older version of a server manager + } catch (Exception) { // do nothing, most likely they are using an older version of a server manager diff --git a/src/Plugin.Discord/Windows/VersionFeedWindow.xaml.cs b/src/Plugin.Discord/Windows/VersionFeedWindow.xaml.cs index 0f619fc4..fb579ff7 100644 --- a/src/Plugin.Discord/Windows/VersionFeedWindow.xaml.cs +++ b/src/Plugin.Discord/Windows/VersionFeedWindow.xaml.cs @@ -23,6 +23,14 @@ namespace ServerManagerTool.Plugin.Discord.Windows { ResourceUtils.UpdateResourceDictionary(this, plugin.LanguageCode); } + catch (MissingFieldException) + { + // do nothing, most likely they are using an older version of a server manager + } + catch (MissingMethodException) + { + // do nothing, most likely they are using an older version of a server manager + } catch (Exception) { // do nothing, most likely they are using an older version of a server manager