No effect potion in Primed Pendant crashes client.
ehwuts opened this issue ยท 2 comments
Forge log link: http://pastebin.com/raw/LE5ZWm0H
Problem: Pendant accepts "potions" with no effects, then crashes because trying to apply a null value.
Expected behaviour: Either nothing happening or pendant not accepting the item.
Steps to reproduce the problem:
- have blood in pendant or needle
- put water bottle or awkward potion in primed pendant
Fixed this for 1.7 in 5f78c70
This fix will be included in the next release for 1.7 which will probably be very soonish.
In 1.9, this problem shouldn't occur due to changes to how effects are fetched from items.