mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix a field->getter i missed last commit
This commit is contained in:
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(" ");
|
||||
|
||||
Reference in new issue
Block a user