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