fix User.Client
This commit is contained in:
@@ -160,7 +160,7 @@ namespace ReallifeGamemode.Server.Entities
|
||||
[NotMapped]
|
||||
public Client Client
|
||||
{
|
||||
get => NAPI.Player.GetPlayerFromName(this.Name);
|
||||
get => NAPI.Pools.GetAllPlayers().Where(c => c.Name.ToLower() == this.Name.ToLower()).FirstOrDefault();
|
||||
}
|
||||
|
||||
internal T GetData<T>(string key, T nullValue)
|
||||
|
||||
Reference in New Issue
Block a user