Commit 050d129
committed
Fix CraftTweaker .circuit(#) ignoring config #
CTRecipeBuilder::circuit(num) was improperly converting inputs resulting
in the NBT not being considered during recipe lookups. This old bug from
GTCE's logic resulted in all such recipes matching any integrated
circuit rather than the one with the requested configuration.
Now validates the requested config number and supplies a nonConsumable
IntCircuitIngredient instead, resulting in the correct behavior.1 parent ca3b6d1 commit 050d129
File tree
1 file changed
+4
-1
lines changed- src/main/java/gregtech/api/recipes/crafttweaker
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments