Closed ProgrammerDan closed 4 years ago
some block types aren't visible in inventory guis, for example crops
when setting the item type to these blocks, the items will be treated as empty slots by the gui
a solution would be to display a different item instead
Also getting a few players complaining about this:
They said that it even varied by the individual type of flower broken? Maybe it's "blocks introduced since whenever this was first coded" because something is badly hard coded somewhere?
the code just calls new ItemStack(action.getMaterial())
which I guess returns an item stack with an invalid item (can't get rendered) in the case of certain blocks. this seems to be the place where this could be fixed.
Resolved by #66
I'll direct Gjum here to add more details