aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2022-07-27 22:20:25 +0900
committermiozune <miozune@gmail.com>2022-07-27 22:20:25 +0900
commit4e6c018ba2fc535b827cf66f8d8a74bedd07ddec (patch)
treef675fcfc3ca742d872a69329191b8f1e85e4ec64
parentb29d8a8f85d82e73ac695b549257e19208548cf1 (diff)
downloadGT5-Unofficial-4e6c018ba2fc535b827cf66f8d8a74bedd07ddec.tar.gz
GT5-Unofficial-4e6c018ba2fc535b827cf66f8d8a74bedd07ddec.tar.bz2
GT5-Unofficial-4e6c018ba2fc535b827cf66f8d8a74bedd07ddec.zip
Fix Samarium Simple Washer
-rw-r--r--src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
index 98bfc045b0..05a94354d7 100644
--- a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
+++ b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
@@ -1513,7 +1513,8 @@ public class RecipeLoader {
if (GT_Utility.isStackValid(input)) {
int[] oreDict = OreDictionary.getOreIDs(input);
for (int oreDictID : oreDict) {
- if (OreDictionary.getOreName(oreDictID).startsWith("dustImpureCerium")) {
+ if (OreDictionary.getOreName(oreDictID).startsWith("dustImpureCerium")
+ || OreDictionary.getOreName(oreDictID).startsWith("dustImpureSamarium")) {
GT_Recipe tRecipe = recipe.copy();
for (int i = 0; i < tRecipe.mOutputs.length; i++) {
if (!GT_Utility.isStackValid(tRecipe.mOutputs[i])) continue;
@@ -1521,6 +1522,10 @@ public class RecipeLoader {
tRecipe.mOutputs[i] = GT_Utility.copyAmount(
tRecipe.mOutputs[i].stackSize,
WerkstoffMaterialPool.CeriumRichMixture.get(OrePrefixes.dust, 1));
+ } else if (tRecipe.mOutputs[i].isItemEqual(Materials.Samarium.getDust(1))) {
+ tRecipe.mOutputs[i] = GT_Utility.copyAmount(
+ tRecipe.mOutputs[i].stackSize,
+ WerkstoffMaterialPool.SamariumOreConcentrate.get(OrePrefixes.dust, 1));
}
}
if (!tRecipe.equals(recipe)) {