diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2024-11-25 15:44:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 09:44:55 -0600 |
commit | 92219b6be087897621f6e0612162709720277585 (patch) | |
tree | 9b24c5aa8c619c42b571dc2dffba1335a85d67aa /src | |
parent | 433c17ecc8a68a2424fe702d3648ee828752ef21 (diff) | |
download | GT5-Unofficial-92219b6be087897621f6e0612162709720277585.tar.gz GT5-Unofficial-92219b6be087897621f6e0612162709720277585.tar.bz2 GT5-Unofficial-92219b6be087897621f6e0612162709720277585.zip |
fix mar-ce recycling and make the logic cleaner (#3556)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gtnhlanth/loader/RecipeLoader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gtnhlanth/loader/RecipeLoader.java b/src/main/java/gtnhlanth/loader/RecipeLoader.java index 282d92fd55..81aec5bfd1 100644 --- a/src/main/java/gtnhlanth/loader/RecipeLoader.java +++ b/src/main/java/gtnhlanth/loader/RecipeLoader.java @@ -3805,8 +3805,8 @@ public class RecipeLoader { int[] oreDict = OreDictionary.getOreIDs(input); for (int oreDictID : oreDict) { final String oreName = OreDictionary.getOreName(oreDictID); - if (!(oreName.startsWith("dust") && (!oreName.contains("Dephosphated")))) { - continue; + if (!oreName.startsWith("dust") || oreName.contains("Dephosphated") || oreName.startsWith("dustMAR")) { + break; } GTRecipe tRecipe = recipe.copy(); boolean modified = false; |