vlt fix
This commit is contained in:
@@ -116,7 +116,7 @@ namespace ReallifeGamemode.Database.Entities
|
||||
[NotMapped]
|
||||
public Player Player
|
||||
{
|
||||
get => NAPI.Pools.GetAllPlayers().Where(c => c.Name.ToLower() == this.Name.ToLower()).FirstOrDefault();
|
||||
get => NAPI.Pools.GetAllPlayers()?.Where(c => c?.Name?.ToLower() == this?.Name?.ToLower()).FirstOrDefault();
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
|
||||
Reference in New Issue
Block a user