minor fix :^)
This commit is contained in:
@@ -514,7 +514,7 @@ namespace ReallifeGamemode.Server.Managers
|
||||
User user = client.GetUser();
|
||||
string nameOrId = JsonConvert.DeserializeObject<string>(jsonNameOrId);
|
||||
Client target = ClientService.GetClientByNameOrId(nameOrId);
|
||||
if (target == null || !target.IsLoggedIn() )
|
||||
if (target == null || !target.IsLoggedIn() || target == client)
|
||||
{
|
||||
ChatService.PlayerNotFound(client);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user