From b960eda9c21afa1d6c1aa60d6835e10b1d08ec3b Mon Sep 17 00:00:00 2001 From: maggi373 <40539743+maggi373@users.noreply.github.com> Date: Sun, 4 Sep 2022 14:10:52 +0200 Subject: [PATCH] use native itemstack for compressediamond --- src/main/java/mekanism/common/integration/OreDictManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/mekanism/common/integration/OreDictManager.java b/src/main/java/mekanism/common/integration/OreDictManager.java index ab061afc9..fea2803c6 100644 --- a/src/main/java/mekanism/common/integration/OreDictManager.java +++ b/src/main/java/mekanism/common/integration/OreDictManager.java @@ -7,7 +7,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import mekanism.api.ItemRetriever; import mekanism.api.MekanismConfig; import mekanism.api.gas.GasRegistry; import mekanism.api.gas.GasStack; @@ -408,7 +407,7 @@ public final class OreDictManager if (MekanismConfig.general.EnableDiamondCompat) { for (ItemStack ore : OreDictionary.getOres("gemDiamond")) { InfuseRegistry.registerInfuseObject(ore, new InfuseObject(InfuseRegistry.get("DIAMOND"), 10)); - RecipeHelper.addEnrichmentChamberRecipe(StackUtils.size(ore, 1), ItemRetriever.getItem("CompressedDiamond")); + RecipeHelper.addEnrichmentChamberRecipe(StackUtils.size(ore, 1), new ItemStack(MekanismItems.CompressedDiamond)); } } if (MekanismConfig.general.EnablePoorOresCompat) {