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 Fluid Drilling Rig sometimes drilling on the incorrect vein #2224

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

vrejhead
Copy link
Contributor

What

Fluid drills now drill the correct fluid when close to fluid vein borders and one or more coordinate is negative

Implementation Details

Uses Math.floorDiv instead of integer division

Outcome

Fluid drill now works

Additional Information

The prospectors do not seem to have the same issue

Potential Compatibility Issues

Existing fluid drills in the "bugged" state will try to get their amount and deplete from the wrong vein, users need to break and replace their fluid drills

@vrejhead vrejhead requested a review from a team as a code owner November 29, 2023 06:15
@serenibyss serenibyss added this to the 2.8.2 milestone Dec 2, 2023
@serenibyss serenibyss added the type: bug Something isn't working label Dec 2, 2023
Copy link
Member

@TechLord22 TechLord22 left a comment

Choose a reason for hiding this comment

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

Thank you for this fix!

@serenibyss serenibyss merged commit 2406457 into GregTechCEu:master Dec 2, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants