Made small changes for Admin Commands

This commit is contained in:
VegaZ
2018-09-23 15:29:11 +02:00
parent e455c9efef
commit 5ed81d4d1e
3 changed files with 57 additions and 13 deletions

View File

@@ -23,5 +23,10 @@ namespace reallife_gamemode.Server.Extensions
return dbContext.Users.FirstOrDefault(u => u.Name == client.Name);
}
}
public static bool IsLoggedIn(Client player)
{
return player.GetData("isLoggedIn");
}
}
}