Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Nov 18, 2023
1 parent 7205d74 commit 7bc877f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ private static void registerVanillaPotions(DisplayRegistry registry, BuiltinClie
}
for (Potion potion : potions) {
for (PotionBrewing.Mix<Item> mix : PotionBrewing.CONTAINER_MIXES) {
Holder.Reference<Item> from = mix.f_43532_;
Holder.Reference<Item> from = mix.from;
Ingredient ingredient = mix.ingredient;
Holder.Reference<Item> to = mix.f_43534_;
Holder.Reference<Item> 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);
Expand Down

0 comments on commit 7bc877f

Please sign in to comment.