aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2021-12-07 03:03:16 +0800
committerGitHub <noreply@github.com>2021-12-06 20:03:16 +0100
commit9471b712e9aef672f222dcfd999683ad1a7664c5 (patch)
tree26859d62eb1efc2cd5f3f320538c808dd78addac /src
parenta4b8fd39f575b304ee2e7dc9c48dc42e7f68cb58 (diff)
downloadGT5-Unofficial-9471b712e9aef672f222dcfd999683ad1a7664c5.tar.gz
GT5-Unofficial-9471b712e9aef672f222dcfd999683ad1a7664c5.tar.bz2
GT5-Unofficial-9471b712e9aef672f222dcfd999683ad1a7664c5.zip
Fix oversight in 43dde28b5afb9bd00791dcd243f66eb373efb483 [formerly 475a733e37ca1b749400294d0f0326a6c55eb783] (#63)
Former-commit-id: 6b14abb87ec60356e64997082915eee24110c4e5
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/StaticRecipeChangeLoaders.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/StaticRecipeChangeLoaders.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/StaticRecipeChangeLoaders.java
index f4be3df605..e843107ab8 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/StaticRecipeChangeLoaders.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/StaticRecipeChangeLoaders.java
@@ -138,7 +138,7 @@ public class StaticRecipeChangeLoaders {
continue;
String fullOreName = prefixes + s;
List<ItemStack> ores = OreDictionary.getOres(fullOreName, false);
- if (ores.isEmpty())
+ if (ores.size() <= 1) // empty or one entry, i.e. no unification needed
continue;
for (ItemStack toReplace : ores) {
ItemStack replacement = werkstoff.get(prefixes);