Skip to content

Commit 3308d16

Browse files
committed
Fix getter null check referencing wrong variable
1 parent 8b31de7 commit 3308d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/capability/impl/AbstractRecipeLogic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ protected void setupRecipe(Recipe recipe) {
425425
* @return all possible chanced item outputs paired with their computed chances for the currently active recipe
426426
*/
427427
public List<Pair<ItemStack, Integer>> getChancedItemOutputs() {
428-
if(itemOutputs == null)
428+
if(chancedItemOutputs == null)
429429
return Collections.emptyList();
430430
return chancedItemOutputs;
431431
}

0 commit comments

Comments
 (0)