All the Mods 9 - ATM9

All the Mods 9 - ATM9

9M Downloads

[Bug]: GregTech Comb Processor Does Not Have Correct Output Amount

YiRanMushroom opened this issue ยท 0 comments

commented

Possible Fixes

Yes

Modpack Version

0.2.60

What happened?

As mentioned above, the output amount of that is not correct in some cases. That is because of when output is a tag, the script is not functioning correctly.

                if (output.item.hasOwnProperty('tag')) {
                    if (chance != 10000) {
                        combRecipeBuilder.chancedOutput(IngredientHelper.tag(output.item.tag).withCount(count).kjs$asIngredient(), chance, 0)
                        combBlockRecipeBuilder.chancedOutput(IngredientHelper.tag(output.item.tag).withCount(count * 4).kjs$asIngredient(), chance, 0)
                    } else {
                        combRecipeBuilder.itemOutputs(IngredientHelper.tag(output.item.tag).withCount(count).kjs$asIngredient())
                        if (output.item.tag != 'forge:wax') {
                            // don't give wax for combBlockRecipes
                            combBlockRecipeBuilder.itemOutputs(IngredientHelper.tag(output.item.tag).withCount(count * 4).kjs$asIngredient())
                        }
                    }
                }

latest.log

No response

Developer reports

No response