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

Clamp between 0 and 1 #1088

Merged
merged 2 commits into from
Dec 22, 2024
Merged

Clamp between 0 and 1 #1088

merged 2 commits into from
Dec 22, 2024

Conversation

Manchick0
Copy link
Contributor

Updated the GameRenderMixin#getNightVisionStrength method to properly clamp the return value between 0 and 1, instead of 0 and 100. Added an additional check to reduce objectively pointless computation.

Updated the GameRenderMixin#getNightVisionStrength method to properly clamp the return value between 0 and 1, instead of 0 and 100. Added an additional check to reduce objectively pointless computation.
@LifeIsAParadox LifeIsAParadox added the reviews needed This PR needs reviews label Dec 21, 2024
@Manchick0
Copy link
Contributor Author

That was the dumbest error of my life.

@AzureAaron AzureAaron added the small change Small changes that are easier to review label Dec 21, 2024
@LifeIsAParadox LifeIsAParadox added merge me please Pull requests that are ready to merge and removed reviews needed This PR needs reviews labels Dec 22, 2024
@AzureAaron AzureAaron merged commit 465bbc1 into SkyblockerMod:master Dec 22, 2024
1 check passed
@LifeIsAParadox LifeIsAParadox removed the merge me please Pull requests that are ready to merge label Dec 22, 2024
@Manchick0 Manchick0 deleted the patch-1 branch January 6, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small change Small changes that are easier to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants