From 7bc877f7af1564090ec21535f77aff9e2940d9df Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 19 Nov 2023 03:41:46 +0800 Subject: [PATCH] Fix compile errors --- .../rei/plugin/client/forge/DefaultClientPluginImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java b/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java index 593fc2916..8c389d3e8 100644 --- a/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java +++ b/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java @@ -76,9 +76,9 @@ private static void registerVanillaPotions(DisplayRegistry registry, BuiltinClie } for (Potion potion : potions) { for (PotionBrewing.Mix mix : PotionBrewing.CONTAINER_MIXES) { - Holder.Reference from = mix.f_43532_; + Holder.Reference from = mix.from; Ingredient ingredient = mix.ingredient; - Holder.Reference to = mix.f_43534_; + Holder.Reference to = mix.to; Ingredient base = Ingredient.of(PotionUtils.setPotion(new ItemStack(from.get()), potion)); ItemStack output = PotionUtils.setPotion(new ItemStack(to.get()), potion); clientPlugin.registerBrewingRecipe(base, ingredient, output);