diff options
author | ghostflyby <ghostflyby@outlook.com> | 2023-11-08 22:17:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 22:17:00 +0800 |
commit | 3444f528c31ed2dd0f6b18a529ad4a2c14897188 (patch) | |
tree | aec387815aa3d7a54c1860eb287229a4926c1865 /src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java | |
parent | 86c14f89da55b39ef7a9c850e9a1f303c5274cf4 (diff) | |
download | GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.tar.gz GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.tar.bz2 GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.zip |
Migrate to non-Object version Utility methods (#2359)
A few calls restricted by other methods and interfaces are left untouched.
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java')
-rw-r--r-- | src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java index bdfa6cd58e..59559d3554 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingNugget.java @@ -32,7 +32,7 @@ public class ProcessingNugget implements gregtech.api.interfaces.IOreRecipeRegis if (aMaterial.contains(SubTag.SMELTING_TO_GEM) && GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial.mSmeltInto, 1L) != null) { GT_Values.RA.stdBuilder() - .itemInputs(GT_Utility.copyAmount(9L, aStack), ItemList.Shape_Mold_Ball.get(0L)) + .itemInputs(GT_Utility.copyAmount(9, aStack), ItemList.Shape_Mold_Ball.get(0L)) .itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial.mSmeltInto, 1L)) .duration(10 * SECONDS) .eut(calculateRecipeEU(aMaterial, 2)) @@ -42,7 +42,7 @@ public class ProcessingNugget implements gregtech.api.interfaces.IOreRecipeRegis if ((!aMaterial.contains(SubTag.SMELTING_TO_GEM)) && GT_OreDictUnificator.get(OrePrefixes.ingot, aMaterial.mSmeltInto, 1L) != null) { GT_Values.RA.stdBuilder() - .itemInputs(GT_Utility.copyAmount(9L, aStack), ItemList.Shape_Mold_Ingot.get(0L)) + .itemInputs(GT_Utility.copyAmount(9, aStack), ItemList.Shape_Mold_Ingot.get(0L)) .itemOutputs(GT_OreDictUnificator.get(OrePrefixes.ingot, aMaterial.mSmeltInto, 1L)) .duration(10 * SECONDS) .eut(calculateRecipeEU(aMaterial, 2)) @@ -70,7 +70,7 @@ public class ProcessingNugget implements gregtech.api.interfaces.IOreRecipeRegis .itemInputs( GT_OreDictUnificator.get(OrePrefixes.ingot, aMaterial, 1L), ItemList.Shape_Mold_Nugget.get(0L)) - .itemOutputs(GT_Utility.copyAmount(9L, aStack)) + .itemOutputs(GT_Utility.copyAmount(9, aStack)) .duration(5 * SECONDS) .eut(calculateRecipeEU(aMaterial, 1)) .addTo(sAlloySmelterRecipes); |