Fix /setup not working with owner groups; update readme

This commit is contained in:
Lucas Nicodemus 2017-12-16 20:37:43 -07:00
parent 3533b7e55e
commit b71458b293
2 changed files with 2 additions and 2 deletions

View file

@ -4845,7 +4845,7 @@ namespace TShockAPI
}
// If the user account is already a superadmin (permanent), disable the system
if (args.Player.IsLoggedIn && args.Player.tempGroup == null && args.Player.Group.Name == new SuperAdminGroup().Name)
if (args.Player.IsLoggedIn && args.Player.tempGroup == null)
{
args.Player.SendSuccessMessage("Your new account has been verified, and the {0}setup system has been turned off.", Specifier);
args.Player.SendSuccessMessage("You can always use the {0}user command to manage players.", Specifier);