mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-10 02:35:42 +00:00
Initialize Path to null
This value is assigned when the instance is created, so it's guaranteed not to be null when it reaches client code
This commit is contained in:
parent
548a5de2be
commit
fd52361a5e
@ -26,7 +26,7 @@ public sealed class VirtualParadisePathObject : VirtualParadiseObject
|
||||
/// Gets the path in this object.
|
||||
/// </summary>
|
||||
/// <value>The path in this object.</value>
|
||||
public VirtualParadisePath Path { get; set; }
|
||||
public VirtualParadisePath Path { get; set; } = null!;
|
||||
|
||||
/// <inheritdoc />
|
||||
protected internal override void ExtractFromOther(VirtualParadiseObject virtualParadiseObject)
|
||||
|
Loading…
Reference in New Issue
Block a user