Remove the test method from Utils, re-route checks to GroupManager

This commit is contained in:
quake1337 2021-08-07 13:56:52 +02:00
parent 91376ae087
commit b32058ac51
No known key found for this signature in database
GPG key ID: DA3BF4DE0341A2B6
3 changed files with 3 additions and 25 deletions

View file

@ -825,7 +825,7 @@ namespace TShockAPI
{
var group = TShock.Groups.GetGroupByName(account.Group);
if (!TShock.Utils.AssertGroupValid(args.Player, group, false))
if (!TShock.Groups.AssertGroupValid(args.Player, group, false))
{
args.Player.SendErrorMessage("Login attempt failed - see the message above.");
return;