Closed frymaster closed 9 years ago
if I create a potion with e.g.
new ItemStack(373,1, 8621,0)
...and pass that into the itemTooltip method, the tooltip is not respecting the damage value and is just showing a water bottle
What I should see What I actually see
It does respect data values for block items
Invalid issue - turns out when creating an ItemStack that "0" as the data parameter overrides "8621" as the damage parameter - the correct thing to do is to set it to null apparently
null
if I create a potion with e.g.
...and pass that into the itemTooltip method, the tooltip is not respecting the damage value and is just showing a water bottle
What I should see What I actually see
It does respect data values for block items