aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2021-05-15 21:17:37 +0200
committerGitHub <noreply@github.com>2021-05-15 21:17:37 +0200
commitf81b0b4b5a0d2e74c9cbb420e74b9e217d0cc6ec (patch)
tree182619f672e5cb3fdc675b80cd82f216e9ef04a3 /src/main
parent320520a1593ffbed9b37b74f814e74d4029510a3 (diff)
parent09157199871971103a9e922f6bb4a0d734075e24 (diff)
downloadGT5-Unofficial-f81b0b4b5a0d2e74c9cbb420e74b9e217d0cc6ec.tar.gz
GT5-Unofficial-f81b0b4b5a0d2e74c9cbb420e74b9e217d0cc6ec.tar.bz2
GT5-Unofficial-f81b0b4b5a0d2e74c9cbb420e74b9e217d0cc6ec.zip
Merge pull request #535 from GTNewHorizons/iridium-fix
Remove ic2 iridium ore to iridium ingot recipe
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/gregtech/GT_Mod.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java
index bd4bf42be9..07362a87af 100644
--- a/src/main/java/gregtech/GT_Mod.java
+++ b/src/main/java/gregtech/GT_Mod.java
@@ -800,6 +800,12 @@ public class GT_Mod implements IGT_Mod {
stopwatch.reset();
stopwatch.start();
+ // remove gemIridium exploit
+ ItemStack iridiumOre = GT_ModHandler.getIC2Item("iridiumOre", 1);
+ aCompressorRecipeList.entrySet().parallelStream()
+ .filter(e -> e.getKey().getInputs().size() == 1 && e.getKey().getInputs().get(0).isItemEqual(iridiumOre))
+ .findAny()
+ .ifPresent(e -> aCompressorRecipeList.remove(e.getKey()));
//Add default IC2 recipe to GT
GT_ModHandler.addIC2RecipesToGT(aMaceratorRecipeList, GT_Recipe.GT_Recipe_Map.sMaceratorRecipes, true, true, true);
GT_ModHandler.addIC2RecipesToGT(aCompressorRecipeList, GT_Recipe.GT_Recipe_Map.sCompressorRecipes, true, true, true);