1
0
mirror of https://github.com/ppy/osu synced 2025-03-20 18:08:25 +00:00

give the object a default value(null).

This commit is contained in:
andy840119 2022-08-02 23:02:14 +08:00
parent 13b2441c51
commit c8c2758d63

View File

@ -47,7 +47,7 @@ namespace osu.Desktop.LegacyIpc
public class Data public class Data
{ {
public string MessageType { get; set; } = string.Empty; public string MessageType { get; set; } = string.Empty;
public object MessageData { get; set; } public object MessageData { get; set; } = default!;
} }
} }
} }