mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
fix: possibly empty error message
This commit is contained in:
parent
ccb6632310
commit
c0fd954230
3 changed files with 28 additions and 20 deletions
|
|
@ -107,6 +107,12 @@ namespace Dalamud {
|
|||
this.LocalizationManager.SetupWithUiCulture();
|
||||
}
|
||||
|
||||
var pluginDir = this.StartInfo.PluginDirectory;
|
||||
if (this.Configuration.DoPluginTest)
|
||||
pluginDir = Path.Combine(pluginDir, "..", "testPlugins");
|
||||
|
||||
this.PluginRepository = new PluginRepository(this, pluginDir, this.StartInfo.GameVersion);
|
||||
|
||||
if (Environment.GetEnvironmentVariable("DALAMUD_NOT_HAVE_INTERFACE") != "True") {
|
||||
try
|
||||
{
|
||||
|
|
@ -139,14 +145,8 @@ namespace Dalamud {
|
|||
this.BotManager.Start();
|
||||
|
||||
try {
|
||||
var pluginDir = this.StartInfo.PluginDirectory;
|
||||
if (this.Configuration.DoPluginTest)
|
||||
pluginDir = Path.Combine(pluginDir, "..", "testPlugins");
|
||||
|
||||
this.PluginManager = new PluginManager(this, pluginDir, this.StartInfo.DefaultPluginDirectory);
|
||||
this.PluginManager.LoadPlugins();
|
||||
|
||||
this.PluginRepository = new PluginRepository(this, pluginDir, this.StartInfo.GameVersion);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue