diff --git a/ReallifeGamemode.Server/Managers/InventoryManager.cs b/ReallifeGamemode.Server/Managers/InventoryManager.cs index 2109077e..64a27414 100644 --- a/ReallifeGamemode.Server/Managers/InventoryManager.cs +++ b/ReallifeGamemode.Server/Managers/InventoryManager.cs @@ -514,7 +514,7 @@ namespace ReallifeGamemode.Server.Managers User user = client.GetUser(); string nameOrId = JsonConvert.DeserializeObject(jsonNameOrId); Client target = ClientService.GetClientByNameOrId(nameOrId); - if (target == null || !target.IsLoggedIn() ) + if (target == null || !target.IsLoggedIn() || target == client) { ChatService.PlayerNotFound(client); return;