-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
1.13-1.15.2
-
Yes
Since a potion with 2 effects (turtle_master) appeared in Minecraft, PotionEffectType should be in the list.
Now:
PotionEffectType effecttype = arrow.getBasePotionData().getType().getEffectType();
Should be:
List<PotionEffectType> effecttypes = arrow.getBasePotionData().getType().getEffectTypes();