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

Research Station OC Fix #2259

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Research Station OC Fix #2259

merged 2 commits into from
Oct 29, 2024

Conversation

YoungOnionMC
Copy link
Member

What

Fix oc logic for research station allowing, researching multi line in the gui and some discounts with overclocking

@YoungOnionMC YoungOnionMC requested a review from a team as a code owner October 29, 2024 07:43
Comment on lines 43 to 45
if(modifiedRecipe.data.contains("duration_is_total_cwu")) {
boolean isTotalCWU = modifiedRecipe.data.getBoolean("duration_is_total_cwu");
if(isTotalCWU) {
Copy link
Member

Choose a reason for hiding this comment

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

These should probably be a single check instead, as the contents of else won't run if duration_is_total_cwu exists but is set to false. (unless that is intended)

Copy link
Member

Choose a reason for hiding this comment

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

yeah, definitely not intended

@YoungOnionMC YoungOnionMC added the type: bugfix general bug fixes label Oct 29, 2024
@YoungOnionMC YoungOnionMC merged commit b8d02f2 into 1.20.1 Oct 29, 2024
2 of 3 checks passed
@YoungOnionMC YoungOnionMC deleted the yo/research-station-fix branch October 29, 2024 21:47
krossgg pushed a commit that referenced this pull request Oct 31, 2024
screret pushed a commit that referenced this pull request Dec 5, 2024
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.

3 participants