-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Added option to display numbers for commissions #876
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks pretty good, I just have some small suggestions.
src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/component/ProgressComponent.java
Show resolved
Hide resolved
src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/hud/HudCommsWidget.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Thanks for contributing.
This unfortunately conflicts with the hud pr, we'll try to make a decision. |
Depends on #816. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, this pr will need to be rebased/rewritten. Just letting you know ahead of time.
* @return the actions needed to complete the commission | ||
*/ | ||
private static int getCommissionMax(String commission) { | ||
switch (commission) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be turned into a switch expression.
This adds the option to display numbers for coms in the Dwarven HUD instead of percentages.