Skip to content

Commit

Permalink
fix issue that shouldn't actually be an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jun 12, 2022
1 parent 1d100de commit a1316f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharedLibraryCore/PartialEntities/EFClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public virtual int? IPAddress
set => CurrentAlias.IPAddress = value;
}

[NotMapped] public string IPAddressString => IPAddress.ConvertIPtoString();
[NotMapped] public string IPAddressString => IPAddress is null ? null : IPAddress.ConvertIPtoString();

[NotMapped] public bool IsIngame => ClientNumber >= 0;

Expand Down

0 comments on commit a1316f2

Please sign in to comment.