Skip to content

Comments

Recipe chart app fix#2030

Merged
serenibyss merged 3 commits intomasterfrom
br-recipechart+
Aug 7, 2023
Merged

Recipe chart app fix#2030
serenibyss merged 3 commits intomasterfrom
br-recipechart+

Conversation

@brachy84
Copy link
Contributor

@brachy84 brachy84 commented Aug 2, 2023

What

#1638 introduced a bug where only crafting recipes can be applied in the recipe chart. That PR was supposed to fix #1595.
That bug happened because of 0.0f / 0.0f = infinity causing a int overflow which causes the item to be empty.
This pr fixes that by never dividing by anything less than 1. I also added a blacklist to jei to prevent certain jei categories to be applied to the recipe chart (like material tree or JEI info page).
I also cleaned the code a little bit up in RGNode.

Implementation Details

Terminal magic

Outcome

Undo #1638 and fix #1595 properly.
Closes #2007

Additional Information

No

Potential Compatibility Issues

Probably none

@brachy84 brachy84 requested a review from a team as a code owner August 2, 2023 10:12
@brachy84 brachy84 added the type: bug Something isn't working label Aug 2, 2023
@ALongStringOfNumbers ALongStringOfNumbers added this to the 2.7.3 milestone Aug 2, 2023
@serenibyss serenibyss merged commit 6821930 into master Aug 7, 2023
@serenibyss serenibyss deleted the br-recipechart+ branch August 7, 2023 06:44
ghzdude pushed a commit to ghzdude/GregTechCEu that referenced this pull request Oct 25, 2023
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.

[Bug] JEI button missing from machine recipe pages for JEI Charts terminal app JEI Chart App crashing

3 participants