Closed Golfing7 closed 1 year ago
Pre-flattening, matchXMaterial(ItemStack) matches splash potions to the SPLASH_POTION material type. Using parseItem() then results in a null item. This update will fix that.
Instead of changing the byte to short, just add an exception inside parseItem method for splash potions.
Sorry for the delay. I've edited the commit and it should be better now!
Nice, thanks!
Pre-flattening, matchXMaterial(ItemStack) matches splash potions to the SPLASH_POTION material type. Using parseItem() then results in a null item. This update will fix that.