()
| 775 | } |
| 776 | |
| 777 | @Override |
| 778 | public PotionEffectImpl getPotionForVignette() { |
| 779 | for (wq potionEffect : getActivePlayerPotionEffects()) { |
| 780 | wp potion = getPotionByEffect(potionEffect); |
| 781 | if (potion != null && potion.g()) { |
| 782 | return wrapPotionEffect(potionEffect); |
| 783 | } |
| 784 | } |
| 785 | for (wq potionEffect : getActivePlayerPotionEffects()) { |
| 786 | wp potion = getPotionByEffect(potionEffect); |
| 787 | if (potion != null && !potion.g()) { |
| 788 | return wrapPotionEffect(potionEffect); |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | return null; |
| 793 | } |
| 794 | |
| 795 | @Override |
| 796 | public List<PotionEffectImpl> getActivePotionEffects() { |
nothing calls this directly
no test coverage detected