Jade ๐Ÿ”

Jade ๐Ÿ”

93M Downloads

ItemEntity does not show custom name of ItemStack

JaisDK opened this issue ยท 0 comments

commented
  • Forge Version: 37.0.x
  • Mod Version: 1.17.1-3.1.0
  • Can you reproduce this issue with relevant mods only?: yes

If you give an item a custom name and throw it on the ground, it will not be used on the tooltip. I believe the linked line should be changed to have a check if the entity is an ItemEntity and then call entity.getItem().getName() instead.

https://github.com/Snownee/Jade/blob/1.17/src/main/java/mcp/mobius/waila/addons/core/BaseEntityProvider.java#L49

** Bug reports please follow the format! or it might be closed! **