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

Make the potion class use NBT tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None

      Potions no longer use durability/data values to identify themselves as a certain type. This means any plugin that uses durabilities to give potions no longer work, and to give a potion we must use NBT tags. However, many people don't know how to use NBT tags and it's also a bit complicated. It'd be a lot easier if Spigot could implement some support of NBT tags and getting the potion type from an item, and potentially fix their Potion class.

      This may be a 'duplicate', but I'd like to put this on Major priority as I know that many plugins are awaiting some kind of potion update and there is no 'easy' workaround.
      Personally, I cannot update KingKits to 1.9 as the kit deserialization for potions is broken now.

            Unassigned Unassigned
            KingFaris10 Faris Rehman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: