Plugins: Implement ReentrantAttribute

This commit is contained in:
Katy Coe
2020-12-26 23:32:21 +01:00
parent 14e80c3022
commit 863aa5ed7d
4 changed files with 36 additions and 7 deletions

View File

@@ -209,7 +209,7 @@ namespace Il2CppInspectorGUI
MessageBox.Show($"One or more plugin options for {e.Error.Plugin.Name} are invalid: {e.Error.Exception.Message}", "Plugin error");
else
MessageBox.Show($"The plugin {e.Error.Plugin.Name} encountered an error while executing {e.Error.Operation}: {e.Error.Exception.Message}."
+ Environment.NewLine + Environment.NewLine + "Plugin has been disabled.", "Plugin error");
+ Environment.NewLine + Environment.NewLine + "Plugin has been disabled for this session.", "Plugin error");
};
PluginManager.StatusHandler += (s, e) => StatusUpdate(e.Plugin, "[" + e.Plugin.Name + "]\n" + e.Text);