mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 06:29:52 +08:00
give the object a default value(null).
This commit is contained in:
@@ -47,7 +47,7 @@ namespace osu.Desktop.LegacyIpc
|
||||
public class Data
|
||||
{
|
||||
public string MessageType { get; set; } = string.Empty;
|
||||
public object MessageData { get; set; }
|
||||
public object MessageData { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user