Skip to content

Commit

Permalink
actually fix the previous issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jun 12, 2022
1 parent a1316f2 commit c94ff08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SharedLibraryCore/PartialEntities/EFClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ public virtual string Name
[NotMapped]
public virtual int? IPAddress
{
get => CurrentAlias.IPAddress;
get => CurrentAlias?.IPAddress;
set => CurrentAlias.IPAddress = value;
}

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

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

Expand Down

0 comments on commit c94ff08

Please sign in to comment.