Skip to content

Commit

Permalink
Fix #1580
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 20, 2024
1 parent e7dcf7a commit fba4e46
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public static FluidStack getFluidFromPotionItem(ItemStack stack) {
Potion potion = PotionUtils.getPotion(stack);
List<MobEffectInstance> list = PotionUtils.getCustomEffects(stack);
BottleType bottleTypeFromItem = bottleTypeFromItem(stack.getItem());
if (potion == Potions.EMPTY)
return FluidStack.EMPTY;
if (potion == Potions.WATER && list.isEmpty() && bottleTypeFromItem == BottleType.REGULAR)
return new FluidStack(Fluids.WATER, FluidConstants.BOTTLE);
FluidStack fluid = PotionFluid.withEffects(FluidConstants.BOTTLE, potion, list);
Expand Down

0 comments on commit fba4e46

Please sign in to comment.