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

Wiremillfix #1843

Merged
merged 3 commits into from Apr 7, 2023
Merged

Wiremillfix #1843

merged 3 commits into from Apr 7, 2023

Conversation

chochem
Copy link
Member

@chochem chochem commented Apr 7, 2023

Fixes GTNewHorizons/GT-New-Horizons-Modpack#13149

I now have 1277 recipes in full game instead of just 132. And I dont see any with null input or output anymore.

@chochem chochem requested a review from boubou19 April 7, 2023 12:43
.duration(baseDuration / 2)
.eut(eut)
.addTo(sWiremillRecipes);
if (!(GT_OreDictUnificator.get(prefix2, materials, 1L) == null)) {
Copy link
Member

Choose a reason for hiding this comment

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

use != instead of !(==)

@boubou19
Copy link
Member

boubou19 commented Apr 7, 2023

Thanks for finding it out, so it's not even related to my material change, so those null items i spotted are real issues, which means a reorganisation of the code is needed.

@miozune
Copy link
Member

miozune commented Apr 7, 2023

I think universal fix would be adding check for mMinimalInputItems when adding recipe, while this PR just works instantly though

@boubou19 boubou19 merged commit c68c901 into GTNewHorizons:master Apr 7, 2023
2 checks passed
@chochem chochem deleted the wiremillfix branch April 11, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants