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

Refactor rotor holder check to support facing towards y-axis #2573

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

omergunr100
Copy link
Contributor

What

Previously rotors facing towards y-axis would still check a cube to the side, finding the turbine structure blocks, and become obstructed.

Implementation Details

Permute the x and y values during the check in case the rotor holder is facing towards the y-axis.

Outcome

Fixes #2537

@omergunr100 omergunr100 requested a review from a team as a code owner December 17, 2024 11:20
@screret screret added the type: bugfix general bug fixes label Dec 17, 2024
@screret screret merged commit 81201a4 into GregTechCEu:1.20.1 Dec 19, 2024
4 checks passed
@omergunr100 omergunr100 deleted the 1.20.1-turbine-rotor-y-fix branch December 19, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bugfix general bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plasma Turbines built upright form, but it says the rotor is obstructed.
2 participants