(wq potionEffect)
| 813 | } |
| 814 | |
| 815 | private PotionEffectImpl wrapPotionEffect(wq potionEffect) { |
| 816 | wp potion = getPotionByEffect(potionEffect); |
| 817 | return new PotionEffectImpl(potion == null ? "" : potionEffect.g(), potionEffect.b(), wp.a(potionEffect), potionEffect.c() + 1, potion == null ? -1 : potion.f(), |
| 818 | potion == null || !potion.g(), true, potion == null ? 0 : potion.k()); |
| 819 | } |
| 820 | |
| 821 | @Override |
| 822 | public boolean isHungerPotionActive() { |