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

fix: update spider's den rain time #509

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

level3cache
Copy link

Updated nextRain time used for calculations to now show correct rain times.

Time used:
Unix (in milliseconds): 1727548440000
Human Time: GMT Saturday, September 28, 2024 6:34:00 PM Skyblock Time: Year 375, Late Autumn, Day 19

I was unable to create a succesful build of the Mod to test these changes myselfe, please test it before pushing. I'm new to programming and hope this works like it should.

Updated nextRain time used for calculations to now show correct rain times.

Time used:
Unix (in milliseconds): 1727548440000
Human Time: GMT Saturday, September 28, 2024 6:34:00 PM
Skyblock Time: Year 375, Late Autumn, Day 19

Signed-off-by: L3cache <85846799+level3cache@users.noreply.github.com>
@level3cache
Copy link
Author

Edit: I found a way to build the mod with my updated changes, found out it's still not working correctly. I'll try to get it working and follow up with another (working) fix for it asap

Actually fix spider's den rain time feature not showing correct time. Added new variables to make future changes easier with additional helpful comments to further clarify, what each value has to be set to.

Signed-off-by: L3cache <85846799+level3cache@users.noreply.github.com>
forgot to update nextRain value, because it was one minute behind

Signed-off-by: L3cache <85846799+level3cache@users.noreply.github.com>
@level3cache
Copy link
Author

level3cache commented Sep 28, 2024

I fixed the timings and added two new variables to make future edits easier. This pr is now ready to be reviewed.
(also tested ingame, works like intended)

@My-Name-Is-Jeff My-Name-Is-Jeff changed the base branch from 1.x to dev September 29, 2024 03:02
Changed `var` to `const val` for compiler optimizations

Signed-off-by: L3cache <85846799+level3cache@users.noreply.github.com>
reverted one `const val` to `var` because it's value changes on line 37

Signed-off-by: L3cache <85846799+level3cache@users.noreply.github.com>
@My-Name-Is-Jeff
Copy link
Member

Thanks for the pull request!

@My-Name-Is-Jeff My-Name-Is-Jeff merged commit 1cef242 into Skytils:dev Oct 2, 2024
1 check passed
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