Skip to content

Commit

Permalink
Fix for issue #2
Browse files Browse the repository at this point in the history
`GT_OreDictUnificator.get_nocopy(itemStack)` does not copy the stack size, so use `GT_OreDictUnificator.get(itemStack)` instead
  • Loading branch information
D-Cysteine committed Feb 21, 2023
1 parent 091a039 commit e026e2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nesqlExporterVersion=0.4.4
nesqlExporterVersion=0.4.5

minecraftVersion=1.7.10
forgeVersion=10.13.4.1614
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private GregTechUtil() {}

/** Returns a list of item stacks that unify into the provided item stack. */
public static List<ItemStack> reverseUnify(ItemStack itemStack) {
ItemStack unified = GT_OreDictUnificator.get_nocopy(itemStack);
ItemStack unified = GT_OreDictUnificator.get(itemStack);
return GT_OreDictUnificator.getNonUnifiedStacks(unified);
}

Expand Down

0 comments on commit e026e2f

Please sign in to comment.