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 Issues with Fusion Reactor Overclocking #2352

Merged
merged 1 commit into from Jan 19, 2024

Conversation

ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Jan 19, 2024

What

fixes an issue where:

if (fusionTier != 0) fusionTier -= MetaTileEntityFusionReactor.this.tier;
values[2] = Math.min(fusionTier, values[2]);

was subtracting incorrectly (in the case of a mk2 reactor running a mk1 recipe, it would do 6 - 7 = -1) for amount of OCs

Implementation Details

subtract correctly :floppaxd:

Outcome

fusion reactors can overclock once again

@ghzdude ghzdude requested a review from a team as a code owner January 19, 2024 05:33
@ghzdude ghzdude added the type: bug Something isn't working label Jan 19, 2024
@htmlcsjs htmlcsjs merged commit e2eebbc into GregTechCEu:master Jan 19, 2024
3 of 4 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.

None yet

2 participants