Disable new world button, fix crash opening plugin folder
This commit is contained in:
@@ -54,7 +54,8 @@ namespace Torch.Server.Views
|
||||
|
||||
private void OpenFolder_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start("explorer.exe", _plugins.PluginDir);
|
||||
if (_plugins?.PluginDir != null)
|
||||
Process.Start(_plugins.PluginDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user