Fixed /overidessi not working properly if DisableLoginBeforeJoin was false.

This commit is contained in:
CoderCow 2013-07-02 12:15:10 +02:00
parent 33700e2730
commit cf018ebd13

View file

@ -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";