(pf potionEffect)
| 825 | } |
| 826 | |
| 827 | private PotionEffectImpl wrapPotionEffect(pf potionEffect) { |
| 828 | pe potion = getPotionByEffect(potionEffect); |
| 829 | return new PotionEffectImpl(potion == null ? "" : potionEffect.g(), potionEffect.b(), pe.a(potionEffect), potionEffect.c() + 1, potion == null ? -1 : potion.f(), |
| 830 | potion == null || !potion.g(), true, potion == null ? 0 : potion.k()); |
| 831 | } |
| 832 | |
| 833 | @Override |
| 834 | public int getPotionEffectIndicatorHeight() { |