Attempting to fix permissions
This commit is contained in:
parent
4270d72047
commit
8fa45f4aae
4 changed files with 12 additions and 1 deletions
|
|
@ -161,6 +161,11 @@ namespace TShockAPI.DB
|
|||
groups = new List<Group>();
|
||||
groups.Add(new SuperAdminGroup());
|
||||
|
||||
if (TShock.Users == null)
|
||||
{
|
||||
TShock.Users = new UserManager(TShock.DB);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
using (var com = database.CreateCommand())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue