actually fix the previous issue
This commit is contained in:
parent
ef3db63ba7
commit
df3e226dc9
@ -76,11 +76,11 @@ namespace SharedLibraryCore.Database.Models
|
|||||||
[NotMapped]
|
[NotMapped]
|
||||||
public virtual int? IPAddress
|
public virtual int? IPAddress
|
||||||
{
|
{
|
||||||
get => CurrentAlias.IPAddress;
|
get => CurrentAlias?.IPAddress;
|
||||||
set => CurrentAlias.IPAddress = value;
|
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;
|
[NotMapped] public bool IsIngame => ClientNumber >= 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user