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

Fixes default position and fixes testing bar being kept render after GUI closed. #1

Merged
1 commit merged into from
Jul 18, 2021
Merged

Conversation

ThatGravyBoat
Copy link
Contributor

Changed BOSSBAR_Y default value to -1 to check before it gets rendered if it is -1 to set the value to 12 / scaledHeight.
Changed where it set the previous bossbar values as where it was being set before it was getting the testing bossbar values because the testing bossbar was being set in the init method but the previous bossbar setting was being done in the drawing method which is called after the init which makes the bossbar render forever.

…ered after mod added than using static value and fixed that the testing boss bar stays rendered after closing the Gui.
@ghost ghost merged commit ade24e4 into Sk1erLLC:master Jul 18, 2021
This pull request was closed.
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.

1 participant