Skip to content

Commit

Permalink
fix mekanism sawmill npe
Browse files Browse the repository at this point in the history
  • Loading branch information
brachy84 committed Aug 8, 2024
1 parent ef52fc7 commit e90b149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void validate(GroovyLog.Msg msg) {
@RecipeBuilderRegistrationMethod
public @Nullable SawmillRecipe register() {
if (!validate()) return null;
ChanceOutput chanceOutput = extra.isEmpty()
ChanceOutput chanceOutput = IngredientHelper.isEmpty(extra)
? new ChanceOutput(output.get(0))
: new ChanceOutput(output.get(0), extra, chance);
SawmillRecipe recipe = null;
Expand Down

0 comments on commit e90b149

Please sign in to comment.