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

Impossible to get TippedArrow potion effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None

      Potions effect can't be get through the entity.

      System.out.println(((CraftTippedArrow)entity).getHandle().h.isEmpty());				System.out.println(((TippedArrow)arrow).hasCustomEffects());
      

      Both always return false in EntityDamageByEntityEvent and ProjectileLaunchEvent (didn't test anywhere else)

      However, the effect is correctly applied to the shot entities and we can see the particles around the arrow.

            Unassigned Unassigned
            ImAFlyingPancake ImAFlyingPancake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: