MilkBowl/Vault — Issue #90: ItemInfo for potions
Author: craftycreeper
Created: 2012-02-07 06:21:31+00:00
State: open

I was writing a plugin that makes use of Vault for economy and item info support. I ran into a bit of an issue when I discovered that Items.itemByStack() returns null when given a potion. It also appears to return null when given 373, the ID for the potion/glass bottle item.

Is there any chance that the ItemInfo for potions could be added? All of the sub-IDs are available on the Minecraft wiki. Heck, if you want I'll even do this myself and submit a pull request. :)