Made small changes for Admin Commands

This commit is contained in:
VegaZ
2018-09-23 15:29:11 +02:00
parent 93ca84946e
commit af8c16d03d
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");
}
}
}