Fix a field->getter i missed last commit

This commit is contained in:
Vincent Lee committed 2020-04-05 00:53:13 -05:00
1 parent 38cb6bf279
commit 101fbb2a1c
1 file changed
+1 -1
@@ -81,7 +81,7 @@ public class ItemBloodPendant extends ItemBauble implements IBrewContainer, IBre
list.add(new TranslationTextComponent("botaniamisc.brewOf", I18n.format(brew.getTranslationKey(stack))).applyTextStyle(TextFormatting.LIGHT_PURPLE));
for (EffectInstance effect : brew.getPotionEffects(stack)) {
TextFormatting format = effect.getPotion().type.getColor();
TextFormatting format = effect.getPotion().getEffectType().getColor();
ITextComponent cmp = new TranslationTextComponent(effect.getEffectName());
if (effect.getAmplifier() > 0) {
cmp.appendText(" ");