Fixed /overidessi not working properly if DisableLoginBeforeJoin was false.
This commit is contained in:
parent
33700e2730
commit
cf018ebd13
1 changed files with 2 additions and 0 deletions
|
|
@ -1381,11 +1381,13 @@ namespace TShockAPI
|
|||
}
|
||||
else if (!TShock.CheckInventory(args.Player))
|
||||
{
|
||||
args.Player.LoginFailsBySsi = true;
|
||||
args.Player.SendMessage("Login Failed, Please fix the above errors then /login again.", Color.Cyan);
|
||||
args.Player.IgnoreActionsForClearingTrashCan = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
args.Player.LoginFailsBySsi = false;
|
||||
|
||||
if (group.HasPermission(Permissions.ignorestackhackdetection))
|
||||
args.Player.IgnoreActionsForCheating = "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue