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

getType() returns null for Leaping potions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • Linux mint 32-bit, Craftbukkit-1.8.1

      If you call getType() on a leaping potion, the result is null.
      Also, getEffects() returns an empty list.

      I have made a quick to demonstrate the bug. To reproduce the bug, start a server with the plugin, place a leaping potion from the creative inventory in your hand, and run /gettype.

      The test plugin's source is here. The compiled test plugin has been included as an attachement.

            Unassigned Unassigned
            CoreyYoung Corey Young
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: