Add safeguard for null refs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>main
parent
03ed78caef
commit
1a7e92f62b
|
|
@ -87,7 +87,7 @@ namespace UnityMcpBridge.Editor.Windows
|
||||||
instructionStyle
|
instructionStyle
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else if (mcpClient.mcpType == McpTypes.Windsurf)
|
else if (mcpClient?.mcpType == McpTypes.Windsurf)
|
||||||
{
|
{
|
||||||
EditorGUILayout.LabelField(
|
EditorGUILayout.LabelField(
|
||||||
" a) Going to File > Preferences > Windsurf Settings > MCP > Manage MCPs -> View raw config",
|
" a) Going to File > Preferences > Windsurf Settings > MCP > Manage MCPs -> View raw config",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue