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 b10f130 commit 7205d74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ private static void registerVanillaPotions(DisplayRegistry registry, BuiltinClie
Set<Potion> potions = Sets.newLinkedHashSet();
for (Ingredient container : PotionBrewing.ALLOWED_CONTAINERS) {
for (PotionBrewing.Mix<Potion> mix : PotionBrewing.POTION_MIXES) {
Holder.Reference<Potion> from = mix.f_43532_;
Holder.Reference<Potion> from = mix.from;
Ingredient ingredient = mix.ingredient;
Holder.Reference<Potion> to = mix.f_43534_;
Holder.Reference<Potion> to = mix.to;
Ingredient base = Ingredient.of(Arrays.stream(container.getItems())
.map(ItemStack::copy)
.map(stack -> PotionUtils.setPotion(stack, from.get())));
Expand Down

0 comments on commit 7205d74

Please sign in to comment.