Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5753

PotionType.getEffectType() should return a list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 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();
      

            Unassigned Unassigned
            Bomb Bomb
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: