Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple account feature #331

Closed
wants to merge 1 commit into from
Closed

Conversation

m9w
Copy link
Contributor

@m9w m9w commented Dec 19, 2023


public class LoginData {
private static final Type PARAMS_TYPE = new TypeToken<Map<String, String>>() {}.getType();

@Getter
private transient final Map<Integer, LoginData> accounts = new ConcurrentHashMap<>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid contaminating the LoginData class with stuff that clearly is not from a single user's login data

Instead try to pass around either a List or another object that is able to support 1 or many login datas and handle the logic for switching around etc.

@m9w
Copy link
Contributor Author

m9w commented Mar 4, 2024

Found solution for diminish quests so bot can be active full time. Closed

@m9w m9w closed this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants