1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Fix AutoBrewer stripping redstone/glowstone modifiers when fermenting a potion

Resolves #3095
This commit is contained in:
Martin Brom 2021-05-31 10:07:53 +02:00
parent 87b0812c2e
commit bd6efaf632

View File

@ -124,7 +124,7 @@ public class AutoBrewer extends AContainer implements NotHopperable {
PotionType fermented = fermentations.get(type);
if (fermented != null) {
potion.setBasePotionData(new PotionData(fermented, false, false));
potion.setBasePotionData(new PotionData(fermented, data.isExtended(), data.isUpgraded()));
return new ItemStack(potionType);
}
} else if (input == Material.REDSTONE && type.isExtendable()) {