Remove the test method from Utils, re-route checks to GroupManager
This commit is contained in:
parent
91376ae087
commit
b32058ac51
3 changed files with 3 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue